Commit 5e460931 authored by Ansgar's avatar Ansgar

config/debian-security: update apache2.conf

parent 1f5bcbdd
......@@ -8,38 +8,16 @@ BrowserMatch EmailSiphon spammer
DocumentRoot /srv/
<Directory /srv/>
Require all granted
ErrorLog /var/log/apache2/
CustomLog /var/log/apache2/ combined
LogLevel warn
Alias /debian-security /srv/
Alias /debian-security-buildd /srv/
Alias /buildd/ /srv/
<LocationMatch "^/(buildd|buildd-squeeze|buildd-wheezy|debian-security|debian-security-buildd)/">
order deny,allow
deny from all
Use DebianBuilddHostList
# - not in list of buildds generated by puppet
allow from
# whitelisted for Joerg Jaspert
allow from
allow from 2001:4dd0:ff00:df::2
allow from
allow from 2a01:198:5d0:0:21c:c0ff:fead:e3a3
AuthName ""
AuthType Basic
AuthUserFile /srv/
require valid-user
# either valid IP address or valid user are sufficient
satisfy any
RewriteEngine on
RewriteRule ^/$
<VirtualHost *:80>
......@@ -51,5 +29,25 @@ BrowserMatch EmailSiphon spammer
Use SecurityMasterConfiguration
Use common-debian-service-ssl
Use common-ssl-HSTS
Alias /debian-security /srv/
Alias /debian-security-buildd /srv/
<LocationMatch "^/(debian-security|debian-security-buildd)/">
Use DebianBuilddHostList
# whitelisted for Joerg Jaspert
Require ip
Require ip 2001:4dd0:ff00:df::2
Require ip
Require ip 2a01:198:5d0:0:21c:c0ff:fead:e3a3
# AuthName ""
# AuthType Basic
# AuthUserFile /srv/
# Require valid-user
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment