From: Tom Hughes Date: Thu, 31 May 2018 14:35:37 +0000 (+0100) Subject: Send a report only Expect-CT header with https responses X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/8db700c791944766bae9556109d0076cc9f6ea8b?hp=ff3f8dc9ce8547b72b4665514ceee45f39edbad2 Send a report only Expect-CT header with https responses --- diff --git a/cookbooks/apache/templates/default/ssl.erb b/cookbooks/apache/templates/default/ssl.erb index 547c1eaa2..6835e8ea5 100644 --- a/cookbooks/apache/templates/default/ssl.erb +++ b/cookbooks/apache/templates/default/ssl.erb @@ -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 Expect-CT "max-age=0, report-uri=\"https://openstreetmap.report-uri.com/r/d/ct/reportOnly\"" env=HTTPS