about summary refs log tree commit diff
path: root/varnish
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2015-11-20T09·58+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-20T09·58+0100
commitc1bdfe5a66a9d6f2f0a0c1e9d1f3ae28a12e8feb (patch)
tree353d045f9d8b85b9fcb22d2c9881b85f9269f7f5 /varnish
parentfdc20d3c825c8a8d8760c4f4778fb3f7d0d691cc (diff)
[varnish] Don't remove the /en/ for now
Diffstat (limited to 'varnish')
-rw-r--r--varnish/default.vcl6
1 files changed, 0 insertions, 6 deletions
diff --git a/varnish/default.vcl b/varnish/default.vcl
index 5710a589cc3f..de08f4f646ff 100644
--- a/varnish/default.vcl
+++ b/varnish/default.vcl
@@ -19,12 +19,6 @@ sub vcl_recv {
                 return (purge);
         }
 
-        # Redirect /en to / (no more multi-language support)
-        if (req.url ~ "^/en") {
-                set req.url = regsub(req.url, "^/en/", "/");
-                return (synth(301, ""));
-        }
-
         # Don't cache admin page
         if (req.url ~ "^/admin") {
                 return (pass);