]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/piwik/templates/default/apache.erb
Use a custom FPM pool for piwik.openstreetmap.org
[chef.git] / cookbooks / piwik / templates / default / apache.erb
index 58703f41b53622f73c5db8643bb3abaaa70abdb3..f513ce9c2c8ddfc4d49d2ee9d498669b7fa550b5 100644 (file)
@@ -50,4 +50,8 @@
                ExpiresDefault "access plus 1 week"
                Header set Cache-Control "max-age=604800"
        </FilesMatch>
+
+        <FilesMatch ".+\.ph(ar|p|tml)$">
+                SetHandler "proxy:unix:/run/php/piwik.openstreetmap.org.sock|fcgi://127.0.0.1"
+        </FilesMatch>
 </Directory>