Add Nextcloud recommended security options

This commit is contained in:
Dreytac 2019-10-07 19:14:34 +10:00 committed by GitHub
commit 0064ddbb8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,9 @@ server {
client_max_body_size 0;
add_header X-Frame-Options "SAMEORIGIN";
add_header Strict-Transport-Security "max-age=15552000" always;
location / {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;