2018-07-16 20:46:07 +00:00
|
|
|
server {
|
|
|
|
listen 80;
|
2019-10-30 21:20:49 +00:00
|
|
|
server_name vikunja.io;
|
2018-07-16 20:46:07 +00:00
|
|
|
|
|
|
|
charset utf-8;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
index index.html index.htm;
|
|
|
|
}
|
|
|
|
|
2019-10-30 21:20:49 +00:00
|
|
|
rewrite ^/en/(.*)$ https://$server_name/$1 redirect;
|
|
|
|
|
2019-10-30 21:07:18 +00:00
|
|
|
error_page 404 /404.html;
|
2018-10-14 17:25:47 +00:00
|
|
|
error_page 500 502 503 504 /50x.html;
|
2018-07-16 20:46:07 +00:00
|
|
|
location = /50x.html {
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
}
|
|
|
|
}
|