Created
June 14, 2019 09:46
-
-
Save marcusramberg/a6d869acf913290a08a50462a146a190 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ansible/roles/legacy-lb/templates/etc/varnish/default.vcl.varnish4.j2 b/ansible/roles/legacy-lb/templates/etc/varnish/default.vcl.varnish4.j2 | |
index 75e054be..cd66b934 100644 | |
--- a/ansible/roles/legacy-lb/templates/etc/varnish/default.vcl.varnish4.j2 | |
+++ b/ansible/roles/legacy-lb/templates/etc/varnish/default.vcl.varnish4.j2 | |
@@ -226,7 +226,7 @@ sub vcl_recv { | |
if (req.url ~ "^/(club|klubb|klub|artikler|artiklar|kampanje|kampanj|kampagne|kampania)" | |
|| req.url ~ "^/(asset|cdn|component|layouts|services)/" | |
|| req.url ~ "^/(afbudsrejser|sistaminuten)(/|\.json|)(\?.+)?$" | |
- || req.url ~ "^/(charter|charterredirect|feature|hotel|services|status/[0-9]+$)" | |
+ || req.url ~ "^/($|charter|charterredirect|feature|hotel|services|status/[0-9]+$)" | |
|| req.url ~ "^/guide/(lufthavn|flyplass|flygplats)" | |
|| req.url ~ "^/(feriehus|feriehuse|semesterhus)" | |
|| (req.http.host ~ "reisegiganten.no" && req.url ~ "^/$") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment