From 2443cfc7684f070dac2dd89772db3a3db5e50a78 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 8 Feb 2018 19:13:36 +0000 Subject: [PATCH] Disable HSTS for Firefox 52 to avoid issues with remote editing --- cookbooks/web/templates/default/apache.frontend.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbooks/web/templates/default/apache.frontend.erb b/cookbooks/web/templates/default/apache.frontend.erb index a950d7746..b2bf38a2e 100644 --- a/cookbooks/web/templates/default/apache.frontend.erb +++ b/cookbooks/web/templates/default/apache.frontend.erb @@ -17,6 +17,12 @@ SSLProxyEngine on SSLCertificateFile /etc/ssl/certs/www.openstreetmap.org.pem SSLCertificateKeyFile /etc/ssl/private/www.openstreetmap.org.key + + # + # Disable HSTS for Firefox 52 to avoid issues with remote editing + # + BrowserMatch Firefox/52 no-hsts + Header set Strict-Transport-Security "max-age=0" env=no-hsts <% end -%> # -- 2.39.5