Drop wheezy compatibility code in static-vhosts-simple
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 26 May 2016 23:28:05 +0000 (01:28 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 26 May 2016 23:28:05 +0000 (01:28 +0200)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index d971eca..3feff61 100644 (file)
@@ -149,12 +149,7 @@ lines.join("\n")
                AllowOverride FileInfo Indexes Options=Multiviews
                Options Multiviews Indexes FollowSymLinks Includes
                IndexOptions FancyIndexing NameWidth=*
-               <% if @lsbmajdistrelease > '7' -%>
-                       Require all granted
-               <% else -%>
-                       Order allow,deny
-                       Allow from all
-               <% end -%>
+               Require all granted
        </Directory>
 
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css