From: Peter Palfrader Date: Wed, 12 Dec 2018 13:03:15 +0000 (+0100) Subject: Make a snapshot.debian.net vhost X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5ff8effb6bd628012063850038b74191d34a73c6;p=mirror%2Fdsa-puppet.git Make a snapshot.debian.net vhost --- diff --git a/modules/roles/templates/snapshot/snapshot.debian.org.conf.erb b/modules/roles/templates/snapshot/snapshot.debian.org.conf.erb index e3d4c316b..d617c9f7f 100644 --- a/modules/roles/templates/snapshot/snapshot.debian.org.conf.erb +++ b/modules/roles/templates/snapshot/snapshot.debian.org.conf.erb @@ -44,6 +44,16 @@ WSGIDaemonProcess snapshot.debian.org user=nobody group=nogroup home=/ processes WSGIProcessGroup snapshot.debian.org + + ServerName snapshot.debian.net + ServerAdmin team@snapshot.debian.org + + ErrorLog /var/log/apache2/snapshot.debian.net-error.log + CustomLog /var/log/apache2/snapshot.debian.net-access.log combined + + RewriteRule ^/(.*)$ http://snapshot.debian.org/ [R] + + ServerName snapshots.debian.org RedirectPermanent / http://snapshot.debian.org/