From d97d5b34ba5cc593951fccf9c500f954cfd511ec Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 30 Oct 2019 22:20:49 +0100 Subject: [PATCH] Add redirect from /en/ links --- nginx.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 82fdc07..54ad782 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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 {