Temporary English homepage redirect
This commit is contained in:
parent
e96c0a1528
commit
a4132a99eb
1 changed files with 3 additions and 2 deletions
|
@ -63,8 +63,9 @@ server {
|
|||
}
|
||||
|
||||
# Disable English home page (for now)
|
||||
location ^/en$ { return 301 $scheme://$host/de/; }
|
||||
location ^/privacy$ { return 301 $scheme://$host/de/privacy; }
|
||||
if ($host = 'public-health.ch') {
|
||||
rewrite ^/en/$ $scheme://$host/de/;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
Loading…
Reference in a new issue