X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fvhost%2Fmanpages.debian.org.erb;h=c4983a922fffcd970cbc129afb10e4baaf26df97;hb=94a2405221354b24e14db3228db348c702031d7a;hp=8305ca6f7b1e64de78b88dc679d0f2f90108e0ec;hpb=1511fdf6245bda62b05148123b233a196d6b6f4d;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/static-mirroring/vhost/manpages.debian.org.erb b/modules/roles/templates/static-mirroring/vhost/manpages.debian.org.erb index 8305ca6f7..c4983a922 100644 --- a/modules/roles/templates/static-mirroring/vhost/manpages.debian.org.erb +++ b/modules/roles/templates/static-mirroring/vhost/manpages.debian.org.erb @@ -90,6 +90,12 @@ Require all denied + # DefaultType doesn’t work since Apache 2.3.x, so we need to match + # non-HTML files to work around https://bugs.debian.org/880542 + + ForceType text/plain + + # To set the correct Content-Type (e.g. text/html). RemoveType .gz AddEncoding gzip gz