Mercurial > repos > other > Puppet
view modules/apache/templates/vhost/_fastcgi.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 @fastcgi_server -%> FastCgiExternalServer <%= @fastcgi_server %> -socket <%= @fastcgi_socket %> <% end -%> <% if @fastcgi_dir -%> <Directory "<%= @fastcgi_dir %>"> Options +ExecCGI AllowOverride All SetHandler fastcgi-script <%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%> Require all granted <%- else -%> Order allow,deny Allow From All <%- end -%> AuthBasicAuthoritative Off </Directory> AllowEncodedSlashes On ServerSignature Off <% end -%>