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

Update load_balancer_reverse_proxy.rst #5242

Closed
wants to merge 3 commits into from
Closed

Update load_balancer_reverse_proxy.rst #5242

wants to merge 3 commits into from

Conversation

urg
Copy link

@urg urg commented May 8, 2015

Remind that the trusted_proxies setting needs to be removed or the setTrustedProxies method call will be overwritten.

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
Copy link
Member

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?

@urg
Copy link
Author

urg commented May 26, 2015

@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.
Copy link
Member

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?

@javiereguiluz
Copy link
Member

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.

@xabbuh
Copy link
Member

xabbuh commented Jun 24, 2015

👍

@weaverryan
Copy link
Member

Easy win indeed. Thanks Patrick! I've merged this into the 2.3 branch.

weaverryan added a commit that referenced this pull request Jun 27, 2015
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
@weaverryan weaverryan closed this Jun 27, 2015
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

5 participants