noticket - updates for fulfillr

This commit is contained in:
Bastian de Byl
2024-10-13 20:19:21 -04:00
parent 8aba20f8ea
commit 19afacf190
5 changed files with 31 additions and 4 deletions

View File

@@ -34,8 +34,11 @@ server {
return 302 $scheme://bdebyl.net$request_uri;
}
root /usr/local/share/fulfillr-site;
index index.html;
location /api {
add_header Access-Control-Allow-Origin "$http_origin";
add_header Access-Control-Allow-Origin * always;
add_header Referrer-Policy "same-origin" always;
# add_header Strict-Transport-Security "max-age=630720000; includeSubDomains" always;
add_header X-Content-Type-Options "nosniff" always;
@@ -55,4 +58,8 @@ server {
chunked_transfer_encoding off;
}
location / {
try_files $uri $uri/ =404;
}
}