-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add tip for trusted_proxies #12622
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
Add tip for trusted_proxies #12622
Conversation
.. tip:: | ||
|
||
In applications using :ref:`Symfony Flex <symfony-flex>` you can set the | ||
TRUSTED_PROXIES env var: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to mergers ... do the following change while merging:
TRUSTED_PROXIES -> ``TRUSTED_PROXIES``
014bd29
to
dd88a33
Compare
Good catch, thanks Fred. |
* 4.3: minor. refs #12622 Add tip for trusted_proxies
* 4.4: minor. refs #12622 Add tip for trusted_proxies
This doc change is tagged to 4.3 but automatic parsing of REMOTE_ADDR by setTrustedProxies is only available in 4.4, no? |
I am currently on a phone 📱, but if you are right 4.4 should (because of up merging) include this tip in the docs and 4.3 is not maintained anymore. Did you face any problems because of this in 4.3 ? |
What was weird was it seemed to work for us for a while on 4.3 but a recent
deploy broke it somehow, but as far as I know we were on 4.3 the whole
time. There's definitely no code to parse it in 4.3 though. Not a huge
deal, a fairly straightforward fix and we should be moving to 4.4/5 soon
anyway.
…On Thu, Feb 27, 2020 at 12:44 AM Oskar Stark ***@***.***> wrote:
I am currently on a phone 📱, but if you are right 4.4 should (because of
up merging) include this tip in the docs and 4.3 is not maintained anymore.
Did you face any problems because of this in 4.3 ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12622?email_source=notifications&email_token=AJNMCSHBOUQO3QGQ5B227T3RE5OOHA5CNFSM4JMBEAH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENDE5OQ#issuecomment-591810234>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJNMCSDEM7GBOXVHMTHLVULRE5OOHANCNFSM4JMBEAHQ>
.
|
Continuing on from #12384, a quick tip to help the flex user