]> git.openstreetmap.org Git - chef.git/commitdiff
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 a950d77461a099fa6a67407d6328c7aeac652443..b2bf38a2e376b6455652fb42ad7ed6209d46ce7f 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 -%>
 
   #