Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't always explode the TRUST_PROXIES variable #1941

Merged
merged 15 commits into from Jan 17, 2020

Conversation

asonix
Copy link
Contributor

@asonix asonix commented Jan 17, 2020

Since the trustedproxy middleware checks the proxy variable against '*' and '**' directly, pixelfed should preserve those values as strings, rather than exploding them into arrays of strings.

This solves my issue with a load-balancer in front of pixelfed.

config/trustedproxy.php Outdated Show resolved Hide resolved
@dansup dansup changed the base branch from dev to staging January 17, 2020 05:35
@dansup dansup merged commit f25c9c2 into pixelfed:staging Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants