10000 Removing incorrect reference that the FragmentListener only listens t… · symfony/symfony-docs@853825b · GitHub
[go: up one dir, main page]

Skip to content

Commit 853825b

Browse files
rawkodewouterj
authored andcommitted
Removing incorrect reference that the FragmentListener only listens to trusted_proxies
1 parent 7a3eca6 commit 853825b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

book/http_cache.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,11 +1207,6 @@ One great advantage of the ESI renderer is that you can make your application
12071207
as dynamic as needed and at the same time, hit the application as little as
12081208
possible.
12091209

1210-
.. tip::
1211-
1212-
The listener only responds to local IP addresses or
1213-
:doc:`trusted proxies </cookbook/request/load_balancer_reverse_proxy>`.
1214-
12151210
.. note::
12161211

12171212
Once you start using ESI, remember to always use the ``s-maxage``

cookbook/request/load_balancer_reverse_proxy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ In this case, you'll need to - *very carefully* - trust *all* proxies.
8888
$response = $kernel->handle($request);
8989
// ...
9090

91-
#. Ensure that the trusted_proxies setting in your ``app/config/config.yml``
91+
#. Ensure that the trusted_proxies setting in your ``app/config/config.yml``
9292
is not set or it will overwrite the ``setTrustedProxies`` call above.
9393

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

0 commit comments

Comments
 (0)
0