## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
##
+<IfModule mod_macro.c>
+
<%=
$cert_dir_le = '/srv/puppet.debian.org/from-letsencrypt'
$cert_dir_backup = '/srv/puppet.debian.org/backup-keys'
res << "<Macro http-pkp-#{site}>"
if pin_info.size >= 2 then
pin_info = pin_info.map{ |x| x.gsub('"', '\"') }
- pin_info << "max-age=300"
+ # 60 days
+ pin_info << "max-age=5184000"
pin_str = pin_info.join("; ")
res << " Header always set Public-Key-Pins \"#{pin_str}\""
else
end
macros.join("\n")
-%>
+
+</IfModule>