Skip to content

Commit

Permalink
Adding information on internal reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
tcz authored and weaverryan committed Apr 12, 2014
1 parent d4ca16a commit 1a21919
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/http_foundation/trusting_proxies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ your proxy.
// only trust proxy headers coming from this IP addresses
Request::setTrustedProxies(array('192.0.0.1', '10.0.0.0/8'));
.. note::

When using Symfony's internal reverse proxy (``AppCache.php``) make sure to add
``127.0.0.1`` to the list of trusted proxies.


Configuring Header Names
------------------------
Expand Down

0 comments on commit 1a21919

Please sign in to comment.