]> git.openstreetmap.org Git - chef.git/commitdiff
Drop deprecated Expect-CT header
authorTom Hughes <tom@compton.nu>
Mon, 30 Jan 2023 18:16:48 +0000 (18:16 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 30 Jan 2023 18:19:39 +0000 (18:19 +0000)
https://github.com/openstreetmap/operations/issues/837

cookbooks/apache/templates/default/ssl.erb

index ccfef6048761d3394ea1ea8f3a4e3010b9a59281..81afb3de55cff8182aa3a33a7361c5d6150bd6ba 100644 (file)
@@ -13,8 +13,3 @@ SSLStaplingFakeTryLater off
 SSLStaplingCache shmcb:${APACHE_RUN_DIR}/ssl_ocspcache(512000)
 
 Header always set Strict-Transport-Security "<%= node[:ssl][:strict_transport_security] %>" "expr=%{HTTPS} == 'on'"
-<% if node[:ssl][:ct_report_uri] -%>
-Header always set Expect-CT "max-age=0, report-uri=\"<%= node[:ssl][:ct_report_uri] %>\"" "expr=%{HTTPS} == 'on'"
-<% else -%>
-Header always set Expect-CT "max-age=0" "expr=%{HTTPS} == 'on'"
-<% end -%>