Add redirect from /en/ links
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
778bdfa2bd
commit
d97d5b34ba
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue