]> git.openstreetmap.org Git - chef.git/commitdiff
dmca: fix apache config
authorGrant Slater <git@firefishy.com>
Wed, 29 Jun 2022 23:20:28 +0000 (02:20 +0300)
committerGrant Slater <git@firefishy.com>
Wed, 29 Jun 2022 23:20:28 +0000 (02:20 +0300)
cookbooks/dmca/templates/default/apache.erb

index 672a1be3e7d9903d7cce88779e9935c54d446e91..41d06aa1cd3c1af1df95c62b7f617756abde24a9 100644 (file)
   CustomLog /var/log/apache2/<%= @name %>-access.log combined
   ErrorLog /var/log/apache2/<%= @name %>-error.log
 
-  DocumentRoot <%= @directory %>/html
+  DocumentRoot <%= @directory %>
 
   Options -Indexes
 </VirtualHost>
 
-<Directory <%= @directory %>/html>
+<Directory <%= @directory %>>
   Require all granted
 
   <FilesMatch ".+\.ph(ar|p|tml)$">