diff --git a/varnish/default.vcl b/varnish/default.vcl index 066b1a9b2..cd726aff3 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, "")); } }