nginx headers

This commit is contained in:
cupcakearmy
2019-08-24 10:16:43 +02:00
parent 18409912fb
commit 6b7d9ad20a
3 changed files with 9 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ server {
add_header Referrer-Policy "origin";
location / {
root /usr/share/nginx/html;
try_files $uri /index.html;
root /srv;
try_files $uri /index.html =404;
}
}