mirror of
https://github.com/cupcakearmy/old.nicco.io.git
synced 2024-11-01 00:24:16 +01:00
15 lines
369 B
Nginx Configuration File
15 lines
369 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
add_header Content-Security-Policy "default-src nicco.io *.nicco.io";
|
|
add_header X-Content-Type-Options "nosniff";
|
|
add_header X-Frame-Options "deny";
|
|
add_header Strict-Transport-Security "max-age=31536000";
|
|
add_header Referrer-Policy "origin";
|
|
|
|
location / {
|
|
root /srv;
|
|
try_files $uri /index.html =404;
|
|
}
|
|
} |