Skip to content

Commit c55bc2e

Browse files
committed
Adding another note about how AppCache is a reverse proxy at the IP address 127.0.0.1
1 parent 18af4e8 commit c55bc2e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cookbook/request/load_balancer_reverse_proxy.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ special ``X-Forwarded-*`` headers. For example, instead of reading the ``REMOTE_
1111
header (which will now be the IP address of your reverse proxy), the user's
1212
true IP will be stored in a ``X-Forwarded-For`` header.
1313

14+
.. tip::
15+
16+
If your using Symfonys :ref:`AppCache<symfony-gateway-cache>` for caching,
17+
then you *are* using a reverse proxy with the IP address ``127.0.0.1``.
18+
You'll need to configure that address as a trusted proxy below.
19+
1420
If you don't configure Symfony to look for these headers, you'll get incorrect
1521
information about the client's IP address, whether or not the client is connecting
1622
via HTTPS, the client's port and the hostname being requested.

0 commit comments

Comments
 (0)