]> git.openstreetmap.org Git - chef.git/commitdiff
Send a report only Expect-CT header with https responses
authorTom Hughes <tom@compton.nu>
Thu, 31 May 2018 14:35:37 +0000 (15:35 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 31 May 2018 14:35:37 +0000 (15:35 +0100)
cookbooks/apache/templates/default/ssl.erb

index 547c1eaa21010c0153412ff7dcf63634d9d77c7e..6835e8ea54745a2ef22c30b0c28e6e649536f415 100644 (file)
@@ -19,3 +19,5 @@ SSLStaplingCache shmcb:${APACHE_RUN_DIR}/ssl_ocspcache(512000)
 
 Header setifempty Strict-Transport-Security "<%= node[:ssl][:strict_transport_security] %>" env=HTTPS
 <% end -%>
 
 Header setifempty Strict-Transport-Security "<%= node[:ssl][:strict_transport_security] %>" env=HTTPS
 <% end -%>
+
+Header setifempty Expect-CT "max-age=0, report-uri=\"https://openstreetmap.report-uri.com/r/d/ct/reportOnly\"" env=HTTPS