X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fvhost%2Fstatic-vhosts-simple.erb;h=13c6626e4505cc3948bbbf64689995a2a0bc9215;hb=c7467f022874eb62e0fde888f5fc089727b28a9e;hp=ec36a14df8dbf3fa207c84695a38c636bb06f55e;hpb=38224986c26ac29b5f1b26d1ccb253a82244152d;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 ec36a14df..13c6626e4 100644
--- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb
+++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb
@@ -126,14 +126,13 @@
AddEncoding x-gzip .gz
AddType text/plain .log
- AddOutputFilterByType DEFLATE text/plain
+ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css image/svg+xml
# Cache these for a year (3600 * 24 * 365.25)
# Files in here will change name if their content change
Header set Cache-Control "max-age=31557600, public"
- AddOutputFilterByType DEFLATE image/svg+xml
RewriteEngine on
@@ -299,6 +298,24 @@ 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 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