From 369c7aa3efe37a9de643b8f75d1cb6a2d09bb744 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 6 Apr 2014 20:56:08 +0200 Subject: run apache on port 80 for jenkins job builder... --- etc/apache2/sites-available/jenkins.debian.net | 42 +++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) (limited to 'etc/apache2') diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index 4b8aa586..8b61661d 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -1,9 +1,49 @@ NameVirtualHost *:80 - ServerName jenkins.debian.net RewriteEngine On RewriteCond %{HTTPS} !=on + RewriteCond %{REMOTE_ADDR} !127.0.0.1 RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] + + ServerName jenkins.debian.net + ServerAdmin holger@layer-acht.org + + DocumentRoot /var/www + + Options FollowSymLinks + AllowOverride None + + + Options Indexes FollowSymLinks MultiViews + AllowOverride None + Order allow,deny + allow from all + + + ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + Order allow,deny + Allow from all + SSLOptions +StdEnvVars + + + ProxyRequests Off + + Order deny,allow + Allow from all + + ProxyPreserveHost on + ProxyPass / http://localhost:8080/ + + ErrorLog ${APACHE_LOG_DIR}/error.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog ${APACHE_LOG_DIR}/access.log combined NameVirtualHost *:443 -- cgit v1.2.3-70-g09d2