X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..1a062eb5304d0ef835313e5948053fcdccf20ecf:/cookbooks/apache/templates/default/ssl.erb?ds=sidebyside diff --git a/cookbooks/apache/templates/default/ssl.erb b/cookbooks/apache/templates/default/ssl.erb index ccfef6048..81afb3de5 100644 --- a/cookbooks/apache/templates/default/ssl.erb +++ b/cookbooks/apache/templates/default/ssl.erb @@ -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 -%>