add template
[mirror/dsa-puppet.git] / modules / roles / templates / static-mirroring / static-vhost.conf.erb
index 6b60121..6b857fc 100644 (file)
@@ -32,7 +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
+               Options Indexes SymLinksIfOwnerMatch
                IndexOptions FancyIndexing NameWidth=*
                <% if @lsbmajdistrelease > '7' -%>
                        Require all granted
@@ -44,7 +44,6 @@
 
        Header set Surrogate-Key <%= hostname %>
 
-       DefaultType text/plain
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
 </Macro>