Skip to content

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

Merged
merged 1 commit into from
Nov 14, 2019
Merged

Add tip for trusted_proxies #12622

merged 1 commit into from
Nov 14, 2019

Conversation

mcfedr
Copy link
Contributor

@mcfedr mcfedr commented Nov 12, 2019

Continuing on from #12384, a quick tip to help the flex user

.. tip::

In applications using :ref:`Symfony Flex <symfony-flex>` you can set the
TRUSTED_PROXIES env var:
Copy link
Member

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``

@OskarStark OskarStark changed the base branch from master to 4.3 November 14, 2019 15:29
@OskarStark
Copy link
Contributor

Good catch, thanks Fred.

OskarStark added a commit that referenced this pull request Nov 14, 2019
This PR was submitted for the master branch but it was merged into the 4.3 branch instead (closes #12622).

Discussion
----------

Add tip for trusted_proxies

Continuing on from #12384, a quick tip to help the flex user

Commits
-------

dd88a33 Add tip for trusted_proxies
@OskarStark OskarStark merged commit dd88a33 into symfony:4.3 Nov 14, 2019
OskarStark added a commit that referenced this pull request Nov 14, 2019
OskarStark added a commit that referenced this pull request Nov 14, 2019
* 4.3:
  minor. refs #12622
  Add tip for trusted_proxies
OskarStark added a commit that referenced this pull request Nov 14, 2019
* 4.4:
  minor. refs #12622
  Add tip for trusted_proxies
@mengmengzh
Copy link

This doc change is tagged to 4.3 but automatic parsing of REMOTE_ADDR by setTrustedProxies is only available in 4.4, no?

@OskarStark
Copy link
Contributor

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 ?

@mengmengzh
Copy link

mengmengzh commented Feb 27, 2020 via email

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.

5 participants