From 0393573e7f8beb4ada801a0e009b24ce59f96b4c Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Wed, 12 Aug 2015 19:56:40 +0200 Subject: [PATCH] Force content-type to text/plain for metadata.ftp-master's changelogs --- .../vhost/static-vhosts-simple.erb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 5064c8f50..af7838594 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -6,7 +6,6 @@ Use common-static-vhost incoming.debian.org Use common-static-vhost news.debian.net Use common-static-vhost debaday.debian.net Use common-static-vhost debdeltas.debian.net -Use common-static-vhost-with-extra metadata.ftp-master.debian.org "AddDefaultCharset utf-8" Use common-static-vhost-with-extra d-i.debian.org "ServerAlias d-i-backend.debian.org" Use common-static-vhost-with-extra network-test.debian.org "ServerAlias network-test-backend.debian.org" Use common-static-vhost-with-extra blends.debian.org "ServerAlias blends-backend.debian.org" @@ -16,6 +15,20 @@ Use common-static-vhost-ssl dsa.debian.org Use common-static-vhost-ssl rtc.debian.org Use common-static-vhost-with-extra security-team.debian.org "ServerAlias security-team-backend.debian.org" +# metadata.ftp-master.debian.org + > + ServerName metadata.ftp-master.debian.org + ServerAdmin debian-admin@lists.debian.org + + ErrorLog /var/log/apache2/metadata.ftp-master.debian.org-error.log + CustomLog /var/log/apache2/metadata.ftp-master.debian.org-access.log privacy + + Use common-static-base metadata.ftp-master.debian.org + AddDefaultCharset utf-8 + + ForceType text/plain + + # bits.debian.org ###################### -- 2.20.1