Skip to content

Conversation

@PapyDanone
Copy link
Contributor

I was having the same issue as symfony/symfony#18587

@Nyholm
Copy link
Member

Nyholm commented Sep 23, 2019

Thank you for this PR.
I think this is technically correct. You need to add the IPs of all the proxies in order to make sure you can get the uses IP.

I wish there were a better way of doing this though...

@javiereguiluz javiereguiluz changed the base branch from 4.4 to 3.4 September 25, 2019 16:09
javiereguiluz added a commit that referenced this pull request Sep 25, 2019
…ltiple proxies (PapyDanone)

This PR was submitted for the 4.4 branch but it was squashed and merged into the 3.4 branch instead (closes #12283).

Discussion
----------

Add note on Trusted Proxies config when app is behind multiple proxies

I was having the same issue as symfony/symfony#18587

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->

Commits
-------

e20aacc Add note on Trusted Proxies config when app is behind multiple proxies
@javiereguiluz javiereguiluz merged commit e20aacc into symfony:3.4 Sep 25, 2019
@javiereguiluz
Copy link
Member

Jérôme, thanks for this contribution (and thanks Tobias for the review). It's merged now! (in 3.4, 4.3, 4.4 and master).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants