Attempt to configure an apache vhost for a static component only if it exists on...
[mirror/dsa-puppet.git] / modules / roles / templates / static-mirroring / static-vhost.conf.erb
index cfb35c0..6b857fc 100644 (file)
@@ -32,6 +32,7 @@
        DocumentRoot /srv/static.debian.org/mirrors/$name/cur
        <Directory /srv/static.debian.org/mirrors/$name/cur>
                AllowOverride FileInfo Indexes Options=Multiviews
+               Options Indexes SymLinksIfOwnerMatch
                IndexOptions FancyIndexing NameWidth=*
                <% if @lsbmajdistrelease > '7' -%>
                        Require all granted
@@ -43,7 +44,6 @@
 
        Header set Surrogate-Key <%= hostname %>
 
-       DefaultType text/plain
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
 </Macro>