From a3fd1b528ee6338b67eef435be3595d4a60bfd12 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 5 Oct 2014 15:19:53 +0200 Subject: serve userContent directly from apache2, to get correct filetypes --- etc/apache2/sites-available/jenkins.debian.net | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'etc') diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index dcc95639..d77603f5 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -68,6 +68,14 @@ NameVirtualHost *:443 allow from all + Alias /userContent /var/lib/jenkins/userContent + + Options Indexes FollowSymLinks MultiViews + AllowOverride None + Order allow,deny + allow from all + + ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride None @@ -99,6 +107,7 @@ NameVirtualHost *:443 ProxyPass /robots.txt http://localhost:8080/userContent/robots.txt # 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/ -- cgit v1.2.3-70-g09d2