about summary refs log tree commit diff
path: root/varnish/default.vcl
diff options
context:
space:
mode:
Diffstat (limited to 'varnish/default.vcl')
-rw-r--r--varnish/default.vcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/varnish/default.vcl b/varnish/default.vcl
index 066b1a9b248f..cd726aff363b 100644
--- a/varnish/default.vcl
+++ b/varnish/default.vcl
@@ -26,7 +26,7 @@ sub vcl_recv {
         }
 
         # Redirect non-www to www and non-HTTPS to HTTPS
-        if (req.http.host ~ "tazj.in" || std.port(local.ip) == 6081) {
+        if (req.http.host ~ "^tazj.in" || std.port(local.ip) == 6081) {
                 return (synth (750, ""));
         }
 }