1
0
Fork 0
forked from exozyme/nginx

Finally got it to work

This commit is contained in:
Anthony Wang 2021-07-20 16:51:12 +00:00 committed by GitHub
parent 8c75c139f1
commit 824b73771d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 / {