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)
|
# Disable English home page (for now)
|
||||||
location ^/en$ { return 301 $scheme://$host/de/; }
|
if ($host = 'public-health.ch') {
|
||||||
location ^/privacy$ { return 301 $scheme://$host/de/privacy; }
|
rewrite ^/en/$ $scheme://$host/de/;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
Loading…
Reference in a new issue