MarseyWorld/nginx-serve-static.conf

14 lines
523 B
Plaintext
Raw Normal View History

2022-10-02 18:27:18 +00:00
root /;
try_files $uri =404;
add_header 'Cache-Control' "public, max-age=3153600";
add_header Referrer-Policy "same-origin";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
add_header X-Frame-Options "deny";
add_header X-Content-Type-Options "nosniff";
add_header Content-Security-Policy "script-src 'self' 'unsafe-inline' challenges.cloudflare.com; connect-src 'self' tls-use1.fpapi.io api.fpjs.io; object-src 'none';";
2022-10-02 18:27:18 +00:00
sendfile on;
sendfile_max_chunk 1m;
tcp_nopush on;
directio 4m;