mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
use supervisord in image
This commit is contained in:
parent
0105c60a09
commit
6fdadd9bad
9 changed files with 47 additions and 17 deletions
28
nix/image/configs/php-fpm.conf
Normal file
28
nix/image/configs/php-fpm.conf
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[global]
|
||||
|
||||
error_log = /proc/self/fd/2
|
||||
daemonize = no
|
||||
|
||||
[www]
|
||||
|
||||
access.log = /proc/self/fd/2
|
||||
|
||||
user = haze
|
||||
group = haze
|
||||
|
||||
listen = /var/run/php-fpm.sock
|
||||
|
||||
listen.owner = haze
|
||||
listen.group = haze
|
||||
listen.mode = 0660
|
||||
|
||||
pm = dynamic
|
||||
pm.max_children = 5
|
||||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 1
|
||||
pm.max_spare_servers = 3
|
||||
|
||||
clear_env = no
|
||||
|
||||
; Ensure worker stdout and stderr are sent to the main error log.
|
||||
catch_workers_output = yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue