summaryrefslogtreecommitdiffstats
path: root/lass/2configs/websites/util.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-11-10 22:34:34 +0100
committerlassulus <lass@aidsballs.de>2016-11-10 22:34:34 +0100
commitdd67d49ea87d4248e7ad12844564302025d603c4 (patch)
tree7d5e7dc5e749de012b9856362cbb99eac4b7966f /lass/2configs/websites/util.nix
parentd02cebe5cef7ac6c12d8971f2a49a43a9a51e6bb (diff)
l 2 websites util: add ownloud headers
Diffstat (limited to 'lass/2configs/websites/util.nix')
-rw-r--r--lass/2configs/websites/util.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/lass/2configs/websites/util.nix b/lass/2configs/websites/util.nix
index 23f417195..55be8a8d9 100644
--- a/lass/2configs/websites/util.nix
+++ b/lass/2configs/websites/util.nix
@@ -79,6 +79,8 @@ rec {
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
+ add_header X-Download-Options noopen;
+ add_header X-Permitted-Cross-Domain-Policies none;
# Path to the root of your installation
root /srv/http/${domain}/;