Nginx setting
This commit is contained in:
parent
99e6b5e635
commit
e7bd554a25
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue