From: Christophe Jaillet
ProxyPass "/myapp/" "fcgi://localhost:4000/" enablereuse=on+
ProxyPass "/myapp/" "fcgi://localhost:4000/" enablereuse=on
The following example passes the request URI as a filesystem @@ -100,8 +100,8 @@ path for the PHP-FPM daemon to run. In this case, PHP-FPM is listening on a unix domain socket (UDS). Requires 2.4.9 or later. With this syntax, the hostname and optional port following fcgi:// are ignored.
-# UDS does not currently support connection reuse - ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/var/run/php5-fpm.sock|fcgi://localhost/var/www/"+
# UDS does not currently support connection reuse +ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/var/run/php5-fpm.sock|fcgi://localhost/var/www/"
The balanced gateway needs mod_proxy_balancer
and
@@ -111,9 +111,9 @@
default, and will be used for this example configuration.
ProxyPass "/myapp/" "balancer://myappcluster/" -<Proxy balancer://myappcluster/> - BalancerMember fcgi://localhost:4000 - BalancerMember fcgi://localhost:4001 +<Proxy "balancer://myappcluster/"> + BalancerMember "fcgi://localhost:4000" + BalancerMember "fcgi://localhost:4001" </Proxy>