You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cookbook/cache/varnish.rst
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,8 @@ that will invalidate the cache for a given resource:
178
178
179
179
Routing
180
180
------------------
181
-
To ensure Symfony Router generates urls correctly with Varnish, proper ```X-Forwarded``` headers must be added. Headers depend on how you have configured hosts and ports for the web server and Varnish but this example should work if the web server is using the same IP as Varnish but different port (e.g. 8080).
181
+
182
+
To ensure that the Symfony Router generates urls correctly with Varnish, proper ```X-Forwarded``` headers must be added. Headers depend on how you have configured hosts and ports for the web server and Varnish but this example should work if the web server is using the same IP as Varnish but a different port (e.g. 8080).
182
183
183
184
.. code-block:: text
184
185
@@ -192,7 +193,8 @@ To ensure Symfony Router generates urls correctly with Varnish, proper ```X-Forw
192
193
193
194
.. note::
194
195
195
-
Remember to set framework.trust_proxy_headers: true in Symfony configuration for this to work.
196
+
Remember to set framework.trust_proxy_headers: true in the Symfony configuration for this to work.
0 commit comments