forked from exozyme/nginx
Try using try_files
This commit is contained in:
parent
1f4b0fe8f2
commit
8c75c139f1
1 changed files with 1 additions and 1 deletions
|
@ -49,8 +49,8 @@ server {
|
|||
|
||||
location ~ ^/~(.*)$ {
|
||||
root /srv/http/pages;
|
||||
index index.html;
|
||||
rewrite ^/~(.*)$ /$1 last;
|
||||
try_files $uri $uri/ index.html;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
|
Loading…
Reference in a new issue