From 0261b525870409757d4a9c19afc1f5b0bbac3e6b Mon Sep 17 00:00:00 2001 From: Guillaume Quintard Date: Wed, 3 Jul 2019 14:16:23 -0700 Subject: [PATCH] [varnish] fix default.vcl path --- varnish/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish/content.md b/varnish/content.md index de7134a57..4fe5cfbad 100644 --- a/varnish/content.md +++ b/varnish/content.md @@ -23,7 +23,7 @@ backend default { Then run: ```console -$ docker run --name my-running-varnish -v /path/to/default.vcl:/usr/local/etc/varnish/default.vcl:ro --tmpfs /usr/local/var/varnish:exec -d %%IMAGE%% +$ docker run --name my-running-varnish -v /path/to/default.vcl:/etc/varnish/default.vcl:ro --tmpfs /usr/local/var/varnish:exec -d %%IMAGE%% ``` Alternatively, a simple `Dockerfile` can be used to generate a new image that includes the necessary `default.vcl` (which is a much cleaner solution than the bind mount above):