[varnish] Don't remove the /en/ for now

This commit is contained in:
Vincent Ambo 2015-11-20 10:58:33 +01:00
parent fdc20d3c82
commit c1bdfe5a66

View file

@ -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);