Skip to content
Snippets Groups Projects
Commit 4c8115d9 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-roles/php#12 Change PHP-FPM, Apache and Netdata settings

parent a86355d9
No related branches found
Tags v1.7.1
No related merge requests found
...@@ -41,7 +41,13 @@ ...@@ -41,7 +41,13 @@
{% endif %} {% endif %}
{% if nextcloud.jail is defined and not php_fpm_socket|default(false) %} {% if nextcloud.jail is defined and not php_fpm_socket|default(false) %}
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:{{ nextcloud.jail.port }}/$1 <LocationMatch "/fpm-status">
Include /etc/apache2/{{ apache_conf_dir }}/global-deny.conf
ProxyPass fcgi://127.0.0.1:{{ nextcloud.jail.port }}
</LocationMatch>
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:{{ nextcloud.jail.port }}"
</FilesMatch>
{% endif %} {% endif %}
DocumentRoot {{ webRoot }} DocumentRoot {{ webRoot }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment