From c1bdfe5a66a9d6f2f0a0c1e9d1f3ae28a12e8feb Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 20 Nov 2015 10:58:33 +0100 Subject: [PATCH] [varnish] Don't remove the /en/ for now --- varnish/default.vcl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/varnish/default.vcl b/varnish/default.vcl index 5710a589c..de08f4f64 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);