]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dmca/templates/default/apache.erb
Fix new cookstyle warnings
[chef.git] / cookbooks / dmca / templates / default / apache.erb
index bf53e2d2e41b4449a0e198ab6a3f8476a61a1911..672a1be3e7d9903d7cce88779e9935c54d446e91 100644 (file)
@@ -51,4 +51,8 @@
 
 <Directory <%= @directory %>/html>
   Require all granted
+
+  <FilesMatch ".+\.ph(ar|p|tml)$">
+    SetHandler "proxy:unix:/run/php/<%= @name %>.sock|fcgi://127.0.0.1"
+  </FilesMatch>
 </Directory>