Mercurial > repos > other > Puppet
view modules/apache/templates/vhost/_header.erb @ 106:ef0926ee389a puppet-3.6
Lock down Apache headers for security, based on https://securityheaders.io/
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 May 2016 17:10:10 +0100 |
parents | 956e484adc12 |
children | b8d6ada284dd |
line wrap: on
line source
<% if @headers and ! @headers.empty? -%> ## Header rules ## as per http://httpd.apache.org/docs/2.2/mod/mod_headers.html#header <%- Array(@headers).each do |header_statement| -%> <%- if header_statement != '' -%> Header <%= header_statement %> <%- end -%> <%- end -%> <% end -%>