]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Remove no-op DefaultType from apache config
authorJulien Cristau <jcristau@debian.org>
Wed, 12 Aug 2015 18:06:56 +0000 (20:06 +0200)
committerJulien Cristau <jcristau@debian.org>
Wed, 12 Aug 2015 18:06:56 +0000 (20:06 +0200)
apache 2.4 stopped respecting DefaultType.  Thanks, guys.

modules/roles/templates/static-mirroring/static-vhost.conf.erb
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index cc9ff05b0f2a8c84b8e1ce306d824265845574bc..6b857fc60a474bc2cacccd4d3f276c843bc1cd7d 100644 (file)
@@ -44,7 +44,6 @@
 
        Header set Surrogate-Key <%= hostname %>
 
-       DefaultType text/plain
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
 </Macro>
 
index af78385947bcd2083db250b2e955eaf0707de06b..97ed145a3b00a66fb9742435748c6bb77e91cbf7 100644 (file)
@@ -108,7 +108,6 @@ Use common-static-vhost-with-extra security-team.debian.org "ServerAlias securit
                <% end -%>
        </Directory>
 
-       DefaultType text/plain
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
        AddOutputFilter INCLUDES .xhtml
 </VirtualHost>