Skip to content
Snippets Groups Projects
Commit 0f7798c1 authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve installation and configuration after some experience with the framework

parent 2a67a6ce
No related branches found
No related tags found
No related merge requests found
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment