X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fvhost%2Fstatic-vhosts-simple.erb;h=2708282bc7d852bd7c188b4246da467246ef5ba4;hb=0fe8c322128bf214db3a7930ab299856a3c1bcc4;hp=146124af88bb6818a6df305891a126ddeb7de08c;hpb=5e199fb1c81aa1b3282fab2b5538e5d4e96b4db7;p=mirror%2Fdsa-puppet.git 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 146124af8..2708282bc 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -126,10 +126,7 @@ AddEncoding x-gzip .gz AddType text/plain .log - - AddOutputFilterByType DEFLATE image/svg+xml - AddOutputFilterByType DEFLATE text/plain - + AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css image/svg+xml @@ -212,6 +209,8 @@ vhost(lines, "rtc.debian.org" , :ssl => true) vhost(lines, "mirror-master.debian.org" , :ssl => true) vhost(lines, "onion.debian.org" , :ssl => true) vhost(lines, "manpages.debian.org" , :ssl => true, :extra => true) +vhost(lines, "planet.debian.net") +vhost(lines, "cdbuilder-logs.debian.org" , :ssl => true) vhost(lines, "bits.debian.org" , :ssl => true, :extra => true) vhost(lines, "micronews.debian.org" , :ssl => true) @@ -250,7 +249,7 @@ lines.join("\n") ServerName www.backports.org ServerAlias lists.backports.org ServerAdmin debian-admin@debian.org - RedirectPermanent / http://backports.debian.org/ + RedirectPermanent / https://backports.debian.org/ ###################### @@ -277,7 +276,7 @@ lines.join("\n") > ServerName ftp.debian-ports.org ServerAdmin debian-admin@debian.org - RedirectPermanent /archive http://www.ports.debian.org + RedirectPermanent /archive https://www.ports.debian.org RedirectPermanent /debian http://ftp.ports.debian.org/debian-ports RedirectPermanent /debian-cd https://cdimage.debian.org/cdimage/ports/ RedirectPermanent / http://ftp.ports.debian.org/ @@ -299,6 +298,33 @@ lines.join("\n") Use common-ssl-HSTS +Use common-dsa-vhost-https-redirect lists.alioth.debian.org + > + ServerName lists.alioth.debian.org + ServerAdmin debian-admin@debian.org + Use common-debian-service-ssl lists.alioth.debian.org + Use common-ssl-HSTS + Redirect / https://alioth-lists.debian.net/ + + +Use common-dsa-vhost-https-redirect pkg-ruby-extras.alioth.debian.org + > + ServerName pkg-ruby-extras.alioth.debian.org + ServerAdmin debian-admin@debian.org + Use common-debian-service-ssl pkg-ruby-extras.alioth.debian.org + Use common-ssl-HSTS + Redirect / https://gemwatch.debian.net/ + + +Use common-dsa-vhost-https-redirect video.debconf.org + > + ServerName video.debconf.org + ServerAdmin debian-admin@debian.org + Use common-debian-service-ssl video.debconf.org + Use common-ssl-HSTS + Redirect / https://debconf-video-team.pages.debian.net/docs/ + + # historical sites ################## # now only redirects remain @@ -344,6 +370,15 @@ lines.join("\n") Redirect / https://manpages.debian.org/ +Use common-dsa-vhost-https-redirect sources.debian.net + > + ServerName sources.debian.net + ServerAdmin debian-admin@debian.org + Use common-debian-service-ssl sources.debian.net + Use common-ssl-HSTS + Redirect permanent / https://sources.debian.org/ + + # error pages #############