Disable En page

This commit is contained in:
Oleg Lavrovsky 2018-05-28 18:27:14 +02:00
parent 614a485278
commit 99e6b5e635

View file

@ -44,6 +44,11 @@ server {
add_header Cache-Control "public";
}
# Disable English home page (for now)
location /en/ {
return 301 $scheme://$host/de/;
}
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;