From: Peter Palfrader Date: Wed, 12 Dec 2018 13:05:22 +0000 (+0100) Subject: Make a snapshot.debian.net vhost, 2 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=53539a880fbb9b7ca1ae116fbbfb4243feae652a;p=mirror%2Fdsa-puppet.git Make a snapshot.debian.net vhost, 2 --- diff --git a/modules/roles/templates/snapshot/snapshot.debian.org.conf.erb b/modules/roles/templates/snapshot/snapshot.debian.org.conf.erb index d617c9f7f..3974bd1ab 100644 --- a/modules/roles/templates/snapshot/snapshot.debian.org.conf.erb +++ b/modules/roles/templates/snapshot/snapshot.debian.org.conf.erb @@ -4,7 +4,7 @@ WSGIDaemonProcess snapshot.debian.org user=nobody group=nogroup home=/ processes ServerName snapshot.debian.org - ServerAlias snapshot-dev.debian.org snapshot-master.debian.org snapshot-*.debian.org snapshot.debian.net + ServerAlias snapshot-dev.debian.org snapshot-master.debian.org snapshot-*.debian.org ServerAdmin team@snapshot.debian.org ErrorLog /var/log/apache2/snapshot.debian.org-error.log @@ -25,9 +25,6 @@ WSGIDaemonProcess snapshot.debian.org user=nobody group=nogroup home=/ processes RewriteRule ^/archive/backports.org/(.*) /archive/debian-backports/$1 [L,R] RewriteRule ^/git/(.*) /gits/snapshot.git/$1 [PT] - RewriteCond %{HTTP_HOST} ^snapshot.debian.net$ - RewriteRule ^/(.*)$ http://snapshot.debian.org/ [R] - Require all granted