summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-06 12:45:50 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-06 12:45:50 +0200
commit1fb073af1d4c2cc79cabb19bb4aabf8184dc55e8 (patch)
treeb48c0a020dfd3bdb3e303877d3cb91129013e015 /etc
parentbfe5bae95bffb852d76c2c2dec38590b6f51c3e4 (diff)
downloadjenkins.debian.net-1fb073af1d4c2cc79cabb19bb4aabf8184dc55e8.tar.xz
set apache requestheaders as per that wiki page
Diffstat (limited to 'etc')
-rw-r--r--etc/apache2/sites-available/jenkins.debian.net2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net
index 5bd8e97d..b3f93acc 100644
--- a/etc/apache2/sites-available/jenkins.debian.net
+++ b/etc/apache2/sites-available/jenkins.debian.net
@@ -114,6 +114,8 @@ NameVirtualHost *:443
ProxyPass /userContent !
ProxyPass / http://localhost:8080/ nocanon
ProxyPassReverse / http://localhost:8080/
+ RequestHeader set X-Forwarded-Proto "https"
+ RequestHeader set X-Forwarded-Port "443"
ErrorLog ${APACHE_LOG_DIR}/error.log