[varnish] Don't remove the /en/ for now
This commit is contained in:
parent
fdc20d3c82
commit
c1bdfe5a66
1 changed files with 0 additions and 6 deletions
|
@ -19,12 +19,6 @@ sub vcl_recv {
|
||||||
return (purge);
|
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
|
# Don't cache admin page
|
||||||
if (req.url ~ "^/admin") {
|
if (req.url ~ "^/admin") {
|
||||||
return (pass);
|
return (pass);
|
||||||
|
|
Loading…
Reference in a new issue