Disable En page
This commit is contained in:
parent
614a485278
commit
99e6b5e635
1 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,11 @@ server {
|
||||||
add_header Cache-Control "public";
|
add_header Cache-Control "public";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Disable English home page (for now)
|
||||||
|
location /en/ {
|
||||||
|
return 301 $scheme://$host/de/;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
Loading…
Reference in a new issue