Mercurial > repos > other > Puppet
changeset 340:b2acbea872e7
Include the trailing slash in the redirect or it all breaks!
We've been accidentally redirecting people to
http://example.compath/to/file.html!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 May 2020 19:41:37 +0100 |
parents | c90dc847246b |
children | 3a1b19f6a054 |
files | modules/website/templates/https_core_conf.erb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/modules/website/templates/https_core_conf.erb Sat May 16 14:58:33 2020 +0100 +++ b/modules/website/templates/https_core_conf.erb Sat May 16 19:41:37 2020 +0100 @@ -10,5 +10,5 @@ Header always set X-Frame-Options "SAMEORIGIN" <If "%{HTTP_HOST} != '<%= @primary_name %>'"> - Redirect permanent "/" "https://<%= @primary_name %>" + Redirect permanent "/" "https://<%= @primary_name %>/" </If>