diff options
author | Vincent Ambo <tazjin@gmail.com> | 2015-11-21T19·30+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2015-11-21T19·30+0100 |
commit | 8390d148774ba917fdff5a37095c6816ed6c16ce (patch) | |
tree | e667ba78e94217d6d634db871540c44c75916a2c /varnish | |
parent | a3a2afdc597eb00121191ca42f01a9e04555f684 (diff) |
[varnish] Fix www. redirect
Diffstat (limited to 'varnish')
-rw-r--r-- | varnish/default.vcl | 2 |
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, "")); } } |