forked from vikunja/blog
Fix nginx location config
This commit is contained in:
parent
24945faab9
commit
90c0c4ab98
@ -54,14 +54,12 @@ http {
|
||||
|
||||
charset utf-8;
|
||||
|
||||
location / {
|
||||
location /blog/ {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
rewrite ^/en/(.*)$ https://$server_name/$1 redirect;
|
||||
|
||||
error_page 404 /404.html;
|
||||
error_page 404 /blog/404.html;
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
|
Loading…
x
Reference in New Issue
Block a user