]> git.openstreetmap.org Git - chef.git/blob - cookbooks/apache/templates/default/ssl.erb
Make sure cgimap uses the writable database for updates
[chef.git] / cookbooks / apache / templates / default / ssl.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 SSLProtocol All -SSLv2 -SSLv3
4
5 SSLHonorCipherOrder On
6 SSLCipherSuite <%= node[:ssl][:openssl_ciphers] %>
7
8 SSLUseStapling On
9 SSLStaplingResponderTimeout 5
10 SSLStaplingErrorCacheTimeout 60
11 SSLStaplingReturnResponderErrors off
12 SSLStaplingFakeTryLater off
13 SSLStaplingCache shmcb:${APACHE_RUN_DIR}/ssl_ocspcache(512000)
14
15 Header always set Strict-Transport-Security "<%= node[:ssl][:strict_transport_security] %>" "expr=%{HTTPS} == 'on'"
16 Header always set Expect-CT "max-age=0, report-uri=\"https://openstreetmap.report-uri.com/r/d/ct/reportOnly\"" "expr=%{HTTPS} == 'on'