-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Update load_balancer_reverse_proxy.rst #5242
Conversation
Remind that the trusted_proxies setting needs to be removed or the setTrustedProxies method call will be overwritten.
@@ -83,6 +83,9 @@ In this case, you'll need to - *very carefully* - trust *all* proxies. | |||
$response = $kernel->handle($request); | |||
// ... | |||
|
|||
#. Ensure that the trusted_proxies setting in your app/config/config.yml is not set or |
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.
Can you please enclose the filename with double backticks?
@xabbuh - I've updated the formatting for this pr. |
@@ -83,6 +83,9 @@ In this case, you'll need to - *very carefully* - trust *all* proxies. | |||
$response = $kernel->handle($request); | |||
// ... | |||
|
|||
#. Ensure that the trusted_proxies setting in your ``app/config/config.yml`` is not set or | |||
it will overwrite the ``setTrustedProxies`` call above. |
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.
Just one last comment: Can you please wrap lines after the first word that crosses the 72nd character?
I think this pull request is ready to be merged. Besides, it's a quick win and it can save users a fair amount of frustration when things go wrong. |
👍 |
Easy win indeed. Thanks Patrick! I've merged this into the 2.3 branch. |
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #5242). Discussion ---------- Update load_balancer_reverse_proxy.rst Remind that the trusted_proxies setting needs to be removed or the setTrustedProxies method call will be overwritten. Commits ------- da65156 Adjust line wrapping 4d8c89d Add formatting for file and method names 037eda8 Update load_balancer_reverse_proxy.rst
Remind that the trusted_proxies setting needs to be removed or the setTrustedProxies method call will be overwritten.