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;
|
||||
}
|
||||
|
||||
location ~ ^/~(.*)$ {
|
||||
root /srv/http/pages;
|
||||
rewrite ^/~(.*)$ /$1 last;
|
||||
try_files $uri $uri/ index.html;
|
||||
location /~ {
|
||||
alias /srv/http/pages/;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
|
Loading…
Reference in a new issue