forked from exozyme/nginx
Finally got it to work
This commit is contained in:
parent
8c75c139f1
commit
824b73771d
1 changed files with 2 additions and 4 deletions
|
@ -47,10 +47,8 @@ server {
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/~(.*)$ {
|
location /~ {
|
||||||
root /srv/http/pages;
|
alias /srv/http/pages/;
|
||||||
rewrite ^/~(.*)$ /$1 last;
|
|
||||||
try_files $uri $uri/ index.html;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
Loading…
Reference in a new issue