Disable HSTS for Firefox 52 to avoid issues with remote editing
authorTom Hughes <tom@compton.nu>
Thu, 8 Feb 2018 19:13:36 +0000 (19:13 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 8 Feb 2018 19:30:42 +0000 (19:30 +0000)
cookbooks/web/templates/default/apache.frontend.erb

index a950d77..b2bf38a 100644 (file)
   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 -%>
 
   #