Apply new vhost-gen templates

This commit is contained in:
cytopia 2018-08-04 16:14:20 +02:00
parent a0982e9bb6
commit 24851eb58d
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -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
<FilesMatch \.php$>
Require all granted
SetHandler proxy:fcgi://__PHP_ADDR__:__PHP_PORT__
</FilesMatch>
# enablereuse requires Apache 2.4.11 or later
<Proxy "fcgi://__PHP_ADDR__:__PHP_PORT__/" enablereuse=on max=10>
<Proxy "fcgi://__PHP_ADDR__:__PHP_PORT__/">
</Proxy>
# If the php file doesn't exist, disable the proxy handler.