Skip to content

Commit 08f8409

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: [HttpCache] Update a link to Varnish cookie docs Improve the explanation of the setfacl command usage
2 parents bed9222 + af1c6fb commit 08f8409

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

http_cache/varnish.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ proxy before it has expired, it adds complexity to your caching setup.
235235

236236
.. _`Varnish`: https://varnish-cache.org/
237237
.. _`Edge Architecture`: http://www.w3.org/TR/edge-arch
238-
.. _`clean the cookies header`: https://varnish-cache.org/trac/wiki/VCLExampleRemovingSomeCookies
238+
.. _`clean the cookies header`: https://varnish-cache.org/docs/7.0/reference/vmod_cookie.html
239239
.. _`Surrogate-Capability Header`: http://www.w3.org/TR/edge-arch
240240
.. _`cache invalidation`: https://tools.ietf.org/html/rfc2616#section-13.10
241241
.. _`FOSHttpCacheBundle`: https://foshttpcachebundle.readthedocs.io/en/latest/features/user-context.html

setup/file_permissions.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ server user and grant the needed permissions:
4444
.. code-block:: terminal
4545
4646
$ HTTPDUSER=$(ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1)
47-
# if this doesn't work, try adding `-n` option
47+
48+
# if the following commands don't work, try adding `-n` option to `setfacl`
4849
4950
# set permissions for future files and folders
5051
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX var

0 commit comments

Comments
 (0)