view modules/apache/templates/vhost/_setenv.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 37675581a273
children 675c1cc61eaf
line wrap: on
line source

<% if @setenv and ! @setenv.empty? -%>

  ## SetEnv/SetEnvIf for environment variables
  <%- Array(@setenv).each do |envvar| -%>
  SetEnv <%= envvar %>
  <%- end -%>
<% end -%>
<% if @setenvif and ! @setenvif.empty? -%>
  <%- Array(@setenvif).each do |envifvar| -%>
  SetEnvIf <%= envifvar %>
  <%- end -%>
<% end -%>