diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-06 12:17:54 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-06 12:17:54 +0200 |
commit | bfe5bae95bffb852d76c2c2dec38590b6f51c3e4 (patch) | |
tree | 70258129c49200908e45b1ae815e5314c623eaba /etc/apache2/sites-available | |
parent | 2d6c8755c69338e03416f0653c663f4522429120 (diff) | |
download | jenkins.debian.net-bfe5bae95bffb852d76c2c2dec38590b6f51c3e4.tar.xz |
update apache proxy configutation as per https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache
Diffstat (limited to 'etc/apache2/sites-available')
-rw-r--r-- | etc/apache2/sites-available/jenkins.debian.net | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index eb47afa2..5bd8e97d 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -35,8 +35,10 @@ NameVirtualHost *:80 Allow from all </Proxy> ProxyPreserveHost on + AllowEncodedSlashes NoDecode ProxyPass /d-i-preseed-cfgs/ http://localhost:8080/userContent/d-i-preseed-cfgs/ ProxyPass / http://localhost:8080/ + ProxyPassReverse / http://localhost:8080/ nocanon ErrorLog ${APACHE_LOG_DIR}/error.log @@ -100,6 +102,7 @@ NameVirtualHost *:443 Allow from all </Proxy> ProxyPreserveHost on + AllowEncodedSlashes NoDecode # proxy everything but a few urls ProxyPass /munin ! ProxyPass /server-status ! @@ -109,8 +112,8 @@ NameVirtualHost *:443 # map /d-i-preseed-cfgs to /UserContent/d-i-preseed-cfgs ProxyPass /d-i-preseed-cfgs/ http://localhost:8080/userContent/d-i-preseed-cfgs/ ProxyPass /userContent ! - ProxyPass / http://localhost:8080/ - + ProxyPass / http://localhost:8080/ nocanon + ProxyPassReverse / http://localhost:8080/ ErrorLog ${APACHE_LOG_DIR}/error.log |