From 1b7992dae7b768e8aaf4944fcb06e1595362a208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Martin?= Date: Thu, 21 Feb 2019 18:24:14 +0100 Subject: [PATCH] Revert "Upgrade nginx configuration following release 14 recommendations (https://docs.nextcloud.com/server/14/admin_manual/installation/nginx.html)" This reverts commit 2a86a900a09a1711b125c0b6b5f67106024b5e45. --- conf/nginx.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1691095..3eee860 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,7 +19,6 @@ location ^~ __PATH__ { 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; # Set max upload size client_max_body_size 10G; @@ -86,8 +85,6 @@ location ^~ __PATH__ { 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; - # Optional: Don't log access to assets access_log off; }