Fix PHP logging in Baikal

Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
main 2022-06-05 13:40:52 +02:00
parent 6a35c088ed
commit 01dd4304c4
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -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;