diff --git a/templates/etc-apache2-sites-available-default b/templates/etc-apache2-sites-available-default index 6eadcaaa493ca8b915f6bc46c3cdead053b1de7e..4f7efab99493d8aa6e08a6b15b154eea70fd6078 100644 --- a/templates/etc-apache2-sites-available-default +++ b/templates/etc-apache2-sites-available-default @@ -4,9 +4,9 @@ ServerAdmin {{apache_server_admin}} {% if php_fpm|default(true) and not php_fpm_socket|default(false) %} - ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:{{ php_fpm_port|default(9000) }}/var/www{{apache_server_default_root}}/$1 + ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:{{ php_fpm_port|default(9999) }}/var/www{{apache_server_default_root}}/$1 ProxyTimeout 900 - <Proxy fcgi://127.0.0.1:{{ php_fpm_port|default(9000) }}> + <Proxy fcgi://127.0.0.1:{{ php_fpm_port|default(9999) }}> ProxySet connectiontimeout=5 timeout=900 retry=3 </Proxy> {% endif %}