From bfe5bae95bffb852d76c2c2dec38590b6f51c3e4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 6 Oct 2014 12:17:54 +0200 Subject: update apache proxy configutation as per https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache --- etc/apache2/sites-available/jenkins.debian.net | 7 +++++-- 1 file 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 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 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 -- cgit v1.2.3-70-g09d2