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
The ``fos_user_context.vcl`` needs the ``user_context_hash_url`` subroutine that sets a URL to the request lookup URL. The default URL is ``/_fos_user_context_hash`` and you can simply include ``resources/config/varnish-[version]/fos_user_context_url.vcl`` in your configuration to provide this. If you need a different URL, include a custom file implementing the ``user_context_hash_url`` subroutine.
206
-
207
-
208
-
To enable support add the following to ``your_varnish.vcl``:
205
+
The ``fos_user_context.vcl`` needs the ``user_context_hash_url`` subroutine
206
+
that sets a URL to the request lookup URL. The default URL is
207
+
``/_fos_user_context_hash`` and you can simply include
208
+
``resources/config/varnish-[version]/fos_user_context_url.vcl`` in your
209
+
configuration to provide this. If you need a different URL, include a custom
210
+
file implementing the ``user_context_hash_url`` subroutine.
209
211
212
+
To enable this feature, add the following to ``your_varnish.vcl``:
210
213
211
214
.. configuration-block::
212
215
@@ -358,7 +361,7 @@ sends an ``X-Cache-Debug`` header:
358
361
359
362
Subroutines are provided in ``fos_debug.vcl``.
360
363
361
-
To enable support add the following to ``your_varnish.vcl``:
364
+
To enable this feature, add the following to ``your_varnish.vcl``:
0 commit comments