diff options
Diffstat (limited to 'terminaldweller.com/lokinet/nginx.conf')
-rw-r--r-- | terminaldweller.com/lokinet/nginx.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/terminaldweller.com/lokinet/nginx.conf b/terminaldweller.com/lokinet/nginx.conf new file mode 100644 index 0000000..c8e6ad9 --- /dev/null +++ b/terminaldweller.com/lokinet/nginx.conf @@ -0,0 +1,22 @@ +events { + worker_connections 1024; +} +http { + server { + listen 80; + keepalive_timeout 70; + add_header Content-Security-Policy "default-src 'self';"; + add_header X-Frame-Options SAMEORIGIN always; + add_header X-Content-Type-Options "nosniff" always; + add_header X-XSS-Protection "1; mode=block" always; + add_header Referrer-Policy "no-referrer"; + sendfile on; + tcp_nopush on; + + location / { + root /srv/; + add_header Access-Control-Allow-Origin "*"; + add_header Content-Disposition "inline"; + } + } +} |