Skip to content

Commit

Permalink
Removing incorrect reference that the FragmentListener only listens t…
Browse files Browse the repository at this point in the history
…o ``trusted_proxies``
  • Loading branch information
rawkode authored and wouterj committed May 21, 2016
1 parent 7a3eca6 commit 853825b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions book/http_cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1207,11 +1207,6 @@ One great advantage of the ESI renderer is that you can make your application
as dynamic as needed and at the same time, hit the application as little as
possible.

.. tip::

The listener only responds to local IP addresses or
:doc:`trusted proxies </cookbook/request/load_balancer_reverse_proxy>`.

.. note::

Once you start using ESI, remember to always use the ``s-maxage``
Expand Down
2 changes: 1 addition & 1 deletion cookbook/request/load_balancer_reverse_proxy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ 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``
#. Ensure that the trusted_proxies setting in your ``app/config/config.yml``
is not set or it will overwrite the ``setTrustedProxies`` call above.

That's it! It's critical that you prevent traffic from all non-trusted sources.
Expand Down

0 comments on commit 853825b

Please sign in to comment.