Add redirect from /en/ links
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2019-10-30 22:20:49 +01:00
parent 778bdfa2bd
commit d97d5b34ba
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
server {
listen 80;
server_name localhost;
server_name vikunja.io;
charset utf-8;
@ -9,6 +9,8 @@ server {
index index.html index.htm;
}
rewrite ^/en/(.*)$ https://$server_name/$1 redirect;
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {