From beffe801fb7d8b6fa471d330d090d0263c5647ac Mon Sep 17 00:00:00 2001 From: Ivan Grynenko Date: Wed, 6 Jul 2016 09:27:54 +1000 Subject: [PATCH] Added php-fpm. --- group_vars/all.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/group_vars/all.yml b/group_vars/all.yml index 6b25dc6..92eebcd 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -72,6 +72,7 @@ apache_vhosts: extra_parameters: | RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] + ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/var/www/html/{{ server_hostname }}" # Disable All Updates # By default automatic updates are enabled, set this value to true to disable all automatic updates