Nginx setting

This commit is contained in:
Oleg Lavrovsky 2018-05-28 18:36:28 +02:00
parent 99e6b5e635
commit e7bd554a25
1 changed files with 1 additions and 3 deletions

View File

@ -45,9 +45,7 @@ server {
}
# Disable English home page (for now)
location /en/ {
return 301 $scheme://$host/de/;
}
location ^/en$ { return 301 $scheme://$host/de/; }
location / {
proxy_set_header X-Real-IP $remote_addr;