From 49915dd6088a74cc399ddb0b46c3fc9c89dca6b3 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 12 Dec 2018 20:31:19 +0100 Subject: [PATCH] [Nextcloud] Fix headers --- data/assets/nextcloud/nextcloud.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/assets/nextcloud/nextcloud.conf b/data/assets/nextcloud/nextcloud.conf index 72f30240..31bd088a 100644 --- a/data/assets/nextcloud/nextcloud.conf +++ b/data/assets/nextcloud/nextcloud.conf @@ -24,7 +24,8 @@ server { add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; - add_header X-Frame-Options "SAMEORIGIN"; + #add_header X-Frame-Options "SAMEORIGIN"; + add_header Referrer-Policy "no-referrer"; server_name NC_SUBD;