summaryrefslogtreecommitdiff
path: root/apache-sp
diff options
context:
space:
mode:
authorHenrik Lund Kramshoej <hlk@kramse.org>2017-07-10 15:59:24 +0200
committerHenrik Lund Kramshoej <hlk@kramse.org>2017-07-10 15:59:24 +0200
commit42318b4b584bf117e2a82ba183cfd40a4d7386e0 (patch)
tree318b0261cdaddfea2390aedb338eca8cb48ac528 /apache-sp
parent9dbbd3cf142ccea8d4c7567953fb28f54a1c55d8 (diff)
Now working with http/https
Diffstat (limited to 'apache-sp')
-rw-r--r--apache-sp/apache-conf/sp.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/apache-sp/apache-conf/sp.conf b/apache-sp/apache-conf/sp.conf
index 3de6bf4..f4ba576 100644
--- a/apache-sp/apache-conf/sp.conf
+++ b/apache-sp/apache-conf/sp.conf
@@ -13,6 +13,8 @@ SSLHonorCipherOrder on
SSLCertificateFile __KEYDIR__/certs/__SP_HOSTNAME__.crt
SSLCertificateKeyFile __KEYDIR__/private/__SP_HOSTNAME__.key
ProxyPass / http://shibboleth-docker:8080/
+ ProxyPreserveHost On
+ RequestHeader set X-Forwarded-Proto "https"
</VirtualHost>
<VirtualHost *:443>
ServerName __SP_HOSTNAME__