Skip to content

Commit

Permalink
Adding another note about how AppCache is a reverse proxy at the IP a…
Browse files Browse the repository at this point in the history
…ddress 127.0.0.1
  • Loading branch information
weaverryan committed Aug 7, 2014
1 parent 18af4e8 commit c55bc2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cookbook/request/load_balancer_reverse_proxy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ special ``X-Forwarded-*`` headers. For example, instead of reading the ``REMOTE_
header (which will now be the IP address of your reverse proxy), the user's
true IP will be stored in a ``X-Forwarded-For`` header.

.. tip::

If your using Symfonys :ref:`AppCache<symfony-gateway-cache>` for caching,
then you *are* using a reverse proxy with the IP address ``127.0.0.1``.
You'll need to configure that address as a trusted proxy below.

If you don't configure Symfony to look for these headers, you'll get incorrect
information about the client's IP address, whether or not the client is connecting
via HTTPS, the client's port and the hostname being requested.
Expand Down

0 comments on commit c55bc2e

Please sign in to comment.