owncloud: add some headers

Now there's no need to put these in your vhost. You'll get rid of warning messages.
This commit is contained in:
Wonderfall committed 2016-04-13 13:51:16 +02:00
1 parent 262252bf9f
commit 9f3c26690c
1 file changed
+4
+4
View File
@@ -14,6 +14,10 @@ http {
access_log off; access_log off;
error_log /var/log/nginx/error.log error; error_log /var/log/nginx/error.log error;
add_header Strict-Transport-Security "max-age=15552000; includeSubdomains; prel$
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
sendfile on; sendfile on;
keepalive_timeout 15; keepalive_timeout 15;