Skip to content

Commit 1008b83

Browse files
TomiSweaverryan
authored andcommitted
fix typos
1 parent d04b939 commit 1008b83

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cookbook/cache/varnish.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ that will invalidate the cache for a given resource:
178178
179179
Routing
180180
------------------
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).
182183

183184
.. code-block:: text
184185
@@ -192,7 +193,8 @@ To ensure Symfony Router generates urls correctly with Varnish, proper ```X-Forw
192193
193194
.. note::
194195

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.
196197

197198
.. _`Edge Architecture`: http://www.w3.org/TR/edge-arch
198199
.. _`GZIP and Varnish`: https://www.varnish-cache.org/docs/3.0/phk/gzip.html
200+

0 commit comments

Comments
 (0)