diff options
author | Kristian Lyngstøl <kly@kly.no> | 2019-04-02 21:16:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-02 21:16:30 +0200 |
commit | ecb267e43a5958c747998e833b78fbd49935b03c (patch) | |
tree | 282be9f5c7d95a4ef1970d85a9d9bb60985fc105 /ansible/roles/web/files/varnish.vcl | |
parent | 1e2b66012e62a45d461ae0d8dbb0094788908c8b (diff) | |
parent | 5737d833a64b6a54d56a53c5d3cb79e34efbcd20 (diff) |
Merge pull request #209 from slinderud/master
Templating: New filter getIp, fixed errors in dhcp filters
Diffstat (limited to 'ansible/roles/web/files/varnish.vcl')
-rw-r--r-- | ansible/roles/web/files/varnish.vcl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/web/files/varnish.vcl b/ansible/roles/web/files/varnish.vcl index c0dc8b6..00a3325 100644 --- a/ansible/roles/web/files/varnish.vcl +++ b/ansible/roles/web/files/varnish.vcl @@ -108,6 +108,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; |