From: Rafael dos Santos Silva Date: Wed, 28 Jun 2017 05:08:39 +0000 (-0300) Subject: Revert "FEATURE: Add default Referrer Policy in SSL template" X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2bdb490dadc32a7bc5d5a5d9d2fb9412125618c6;p=discourse_docker.git Revert "FEATURE: Add default Referrer Policy in SSL template" This reverts commit 4da4d12ba60f60821405a4dd0b9d6744a2c5075b. --- diff --git a/templates/web.ssl.template.yml b/templates/web.ssl.template.yml index d041360..76b600e 100644 --- a/templates/web.ssl.template.yml +++ b/templates/web.ssl.template.yml @@ -33,7 +33,6 @@ run: gzip on; add_header Strict-Transport-Security 'max-age=31536000'; # remember the certificate for a year and automatically connect to HTTPS for this domain - add_header Referrer-Policy 'no-referrer-when-downgrade'; if ($http_host != $$ENV_DISCOURSE_HOSTNAME) { rewrite (.*) https://$$ENV_DISCOURSE_HOSTNAME$1 permanent;