diff options
Diffstat (limited to 'templates/install/saml2')
-rw-r--r-- | templates/install/saml2/sp.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/install/saml2/sp.conf b/templates/install/saml2/sp.conf index d7872cc..a7adaf9 100644 --- a/templates/install/saml2/sp.conf +++ b/templates/install/saml2/sp.conf @@ -30,5 +30,5 @@ ${sp}</Directory> # Redirect requests to the secure port ${ssl_rewrite}RewriteEngine on -${ssl_rewrite}RewriteCond %{SERVER_PORT} !^443$$ -${ssl_rewrite}RewriteRule ^${saml_base}(.*) https://${sp_hostname}${saml_base}$$1 [L,R=301,NC] +${ssl_rewrite}RewriteCond %{SERVER_PORT} !^${ssl_port}$$ +${ssl_rewrite}RewriteRule ^${saml_base}(.*) https://${sp_hostname}${sp_port}${saml_base}$$1 [L,R=301,NC] |