From 10305ac7d79fce0891e70a46db37948a94c50d0d Mon Sep 17 00:00:00 2001 From: Ivan Grynenko Date: Wed, 6 Jul 2016 09:35:20 +1000 Subject: [PATCH] Fixing cgi proxy. --- group_vars/all.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index 92eebcd..d39a47c 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -72,7 +72,11 @@ 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 }}" + ProxyTimeout 600 + ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/var/www/html/{{ server_hostname }}/$1" + + ProxySet timeout=600 + # Disable All Updates # By default automatic updates are enabled, set this value to true to disable all automatic updates