chore(server): allow using a FPM socket

This commit is contained in:
2021-10-24 12:38:43 +02:00
parent dd295b4129
commit dd5223afaa
6 changed files with 42 additions and 1 deletions

View File

@ -0,0 +1,2 @@
[global]
daemonize = no

View File

@ -3,7 +3,14 @@
user = www-data
group = www-data
listen = 127.0.0.1:9000
{% if nextcloud_socket_path is defined and nextcloud_socket_path is string %}
listen = {{ nextcloud_container_php_socket_path }}/nextcloud.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0666
{% else %}
;listen = 0.0.0.0:9000
{% endif %}
pm = dynamic
pm.max_children = {{ nextcloud_fpm_max_children }}