diff options
author | slinderud <Simen@linux.com> | 2019-03-31 14:58:08 +0200 |
---|---|---|
committer | slinderud <Simen@linux.com> | 2019-03-31 14:58:08 +0200 |
commit | 5737d833a64b6a54d56a53c5d3cb79e34efbcd20 (patch) | |
tree | 282be9f5c7d95a4ef1970d85a9d9bb60985fc105 /extras | |
parent | 3e005c6260cf6befca2289a688ce9ddbfeb2d7a4 (diff) |
excluded listing of template files from varnish
Diffstat (limited to 'extras')
-rw-r--r-- | extras/misc/varnish.vcl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/misc/varnish.vcl b/extras/misc/varnish.vcl index c47c3e6..e99181c 100644 --- a/extras/misc/varnish.vcl +++ b/extras/misc/varnish.vcl @@ -107,6 +107,11 @@ sub vcl_recv { return (pass); } + # exclude listing of template files + if (req.url ~ "/api/read/template-list" ) { + return (pass); + } + # We don't use cookies - so get rid of them so we don't mess up the cache # by accident. unset req.http.Cookie; |