Commit bf0f66a4 authored by Daniel Juarez's avatar Daniel Juarez 💬
Browse files

redirects to archive url do not make sense if we are in archive already

parent 472b1951
Pipeline #3197919 passed with stage
in 1 minute and 58 seconds
......@@ -23,19 +23,6 @@ location /scientific5 {
return 301 $scheme://linux-old.web.cern.ch/linux-old/scientific5;
}
# Redirect slc6 to archive website
location /linux/scientific6/ {
rewrite ^/(.*)$ $scheme://linux-archive.web.cern.ch/$1 permanent;
}
location /scientific6 {
rewrite ^/(.*)$ $scheme://linux-archive.web.cern.ch/$1 permanent;
}
location /updates/slc6/ {
rewrite ^/(.*)$ $scheme://linux-archive.web.cern.ch/$1 permanent;
}
# Keep linux.web.cern.ch/linux/path urls working, redirecting to ommit the /linux/ part
location = /linux {
return 301 /;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment