Skip to content
Snippets Groups Projects
Commit 681d0001 authored by jurgenhaas's avatar jurgenhaas
Browse files

Optionally run PHP FPM over a socket

parent 4eb96e83
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,11 @@ user = {{ item.jail.name }}
group = {{ item.jail.name }}
;chroot = {{ jailroot }}/{{ item.jail.name }}
chdir = /
{% if php_fpm_socket %}
listen = /var/run/php{{ php_version_main }}-fpm.sock
{% else %}
listen = 127.0.0.1:{{ item.jail.port }}
{% endif %}
; Process manager
pm = dynamic
......
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