mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-22 00:04:20 +01:00
Fix PHP logging in Baikal
Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
parent
6a35c088ed
commit
01dd4304c4
|
@ -52,6 +52,10 @@ nglib.makeSystem {
|
|||
};
|
||||
};
|
||||
|
||||
init.services.php-fpm = {
|
||||
shutdownOnExit = true;
|
||||
};
|
||||
|
||||
services.php-fpm = {
|
||||
pools = {
|
||||
main = {
|
||||
|
@ -60,6 +64,8 @@ nglib.makeSystem {
|
|||
"user" = "www-data";
|
||||
};
|
||||
fpmSettings = {
|
||||
"hp_admin_value[error_log]" = "/proc/self/fd/1";
|
||||
"php_admin_flag[log_errors]" = "on";
|
||||
"pm" = "dynamic";
|
||||
"pm.max_children" = 75;
|
||||
"pm.start_servers" = 10;
|
||||
|
|
Loading…
Reference in a new issue