Revert "FEATURE: Add default Referrer Policy in SSL template"
authorRafael dos Santos Silva <xfalcox@gmail.com>
Wed, 28 Jun 2017 05:08:39 +0000 (02:08 -0300)
committerRafael dos Santos Silva <xfalcox@gmail.com>
Wed, 28 Jun 2017 05:08:39 +0000 (02:08 -0300)
This reverts commit 4da4d12ba60f60821405a4dd0b9d6744a2c5075b.

templates/web.ssl.template.yml

index d041360caed4d5e64d6e24a5f6ef25925066e303..76b600eac024815f2eb8b29a4c5c478a56f00967 100644 (file)
@@ -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;