Skip to content

Commit 53af34b

Browse files
committed
minor symfony#6541 Trusted proxies were removed when URL signing took over (rawkode)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes symfony#6541). Discussion ---------- Trusted proxies were removed when URL signing took over Since: symfony/http-kernel@fa8f4f8 Commits ------- 853825b Removing incorrect reference that the FragmentListener only listens to ``trusted_proxies``
2 parents 7a3eca6 + 853825b commit 53af34b

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)