comparison modules/website/templates/https_core_conf.erb @ 152:ff7ebe76c6e9 puppet-3.6

Add missing HTTPS site config template
author IBBoard <dev@ibboard.co.uk>
date Tue, 28 Mar 2017 20:50:17 +0100
parents
children e661cb2dd942
comparison
equal deleted inserted replaced
151:1ad747713519 152:ff7ebe76c6e9
1 Header always set Strict-Transport-Security "max-age=16070400; includeSubDomains"
2 Header always set X-Xss-Protection "1; mode=block"
3 Header always set X-Content-Type-Options "nosniff"
4 Header always set X-Frame-Options "SAMEORIGIN"
5
6 RewriteCond %{HTTP_HOST} !=<%= @name %>
7 RewriteRule ^(.*)$ https://<%= @name %>/$1 [R=301,L]