From e78e56586c92fc86ee02626f4b3b0424a655add6 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sun, 17 Mar 2019 18:00:43 +0100 Subject: [PATCH] update nginx config --- rootfs/etc/confd/templates/nextcloud.conf.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rootfs/etc/confd/templates/nextcloud.conf.tmpl b/rootfs/etc/confd/templates/nextcloud.conf.tmpl index de3cb1b..36aef88 100644 --- a/rootfs/etc/confd/templates/nextcloud.conf.tmpl +++ b/rootfs/etc/confd/templates/nextcloud.conf.tmpl @@ -15,6 +15,9 @@ server { add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; + add_header Referrer-Policy no-referrer; + + fastcgi_hide_header X-Powered-By; root /var/lib/nextcloud/; @@ -81,6 +84,8 @@ server { add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; + add_header Referrer-Policy no-referrer; + access_log off; }