From 53539a880fbb9b7ca1ae116fbbfb4243feae652a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 12 Dec 2018 14:05:22 +0100 Subject: [PATCH] Make a snapshot.debian.net vhost, 2 --- .../roles/templates/snapshot/snapshot.debian.org.conf.erb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.20.1