From 24851eb58da77e38510cd03be67a05e14dda46a8 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sat, 4 Aug 2018 16:14:20 +0200 Subject: [PATCH] Apply new vhost-gen templates --- templates/vhost-gen/apache24.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/vhost-gen/apache24.yml b/templates/vhost-gen/apache24.yml index 53de2a70..2b5e0ead 100644 --- a/templates/vhost-gen/apache24.yml +++ b/templates/vhost-gen/apache24.yml @@ -120,14 +120,17 @@ features: # PHP-FPM will not be applied to a reverse proxy! php_fpm: | + # In case for PHP-FPM 5.2 compatibility use 'GENERIC' instead of 'FPM' + # https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html#proxyfcgibackendtype + ProxyFCGIBackendType FPM + # PHP-FPM Definition Require all granted SetHandler proxy:fcgi://__PHP_ADDR__:__PHP_PORT__ - # enablereuse requires Apache 2.4.11 or later - + # If the php file doesn't exist, disable the proxy handler.