summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/deployment/owncloud.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-10-15 22:41:08 +0200
committermakefu <github@syntax-fehler.de>2019-10-15 22:41:08 +0200
commit3aa59e62745bf4d8f750f1e131548dbd53de010b (patch)
tree529ad213235da9a0c161b06aaf8e9813b11ba832 /makefu/2configs/deployment/owncloud.nix
parent0116beb65839f61763d4e3e6bf9ba381de02435b (diff)
ma nginx: make linter happy
Diffstat (limited to 'makefu/2configs/deployment/owncloud.nix')
-rw-r--r--makefu/2configs/deployment/owncloud.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix
index 38eed2fd..59dfa320 100644
--- a/makefu/2configs/deployment/owncloud.nix
+++ b/makefu/2configs/deployment/owncloud.nix
@@ -110,6 +110,10 @@ let
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
+ add_header X-Frame-Options SAMEORIGIN;
+ add_header X-Download-Options noopen;
+ add_header X-Permitted-Cross-Domain-Policies none;
+
# Optional: Don't log access to assets
access_log off;
'';