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 {