]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/apache.frontend.erb
Disable HSTS for Firefox 52 to avoid issues with remote editing
[chef.git] / 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 -%>
 
   #