old.nicco.io/nginx.conf

15 lines
369 B
Nginx Configuration File
Raw Normal View History

2019-03-24 02:32:01 +01:00
server {
listen 80;
server_name _;
2019-12-12 06:32:59 +01:00
add_header Content-Security-Policy "default-src nicco.io *.nicco.io";
2019-08-19 12:47:55 +02:00
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";
2019-03-24 02:32:01 +01:00
location / {
2019-08-24 10:16:43 +02:00
root /srv;
try_files $uri /index.html =404;
2019-03-24 02:32:01 +01:00
}
}