]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/forum/templates/default/apache.erb
Merge remote-tracking branch 'github/pull/528'
[chef.git] / cookbooks / forum / templates / default / apache.erb
index 82942001bb4b580a5ff4e6527811d71b4bfe2174..5235ee1f8378ed57298626f62c8be9c26e4b541e 100644 (file)
@@ -39,8 +39,9 @@
 
        DocumentRoot /srv/forum.openstreetmap.org/html
 
-       ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir=/srv/forum.openstreetmap.org/html/:/usr/share/php/:/tmp/\ndisable_functions=exec,shell_exec,system,passthru,popen,proc_open"
-       ProxyFCGISetEnvIf "true" PHP_VALUE "upload_max_filesize=70M\npost_max_size=100M"
+       <FilesMatch ".+\.ph(ar|p|tml)$">
+               SetHandler "proxy:unix:/run/php/php-forum.openstreetmap.org-fpm.sock|fcgi://127.0.0.1"
+       </FilesMatch>
 </VirtualHost>
 
 <Directory /srv/forum.openstreetmap.org/html>