12 lines
396 B
Nix
12 lines
396 B
Nix
{ pkgs, config, phpFpmListen, processSettings }:
|
|
{
|
|
inherit (config.services.nginx) user group;
|
|
settings = {
|
|
"listen.owner" = config.services.nginx.user;
|
|
"listen.group" = config.services.nginx.group;
|
|
"listen.mode" = 660;
|
|
"pm" = "dynamic";
|
|
"catch_workers_output" = "yes";
|
|
}; # // (builtins.removeAttrs [ "__unfix__" "extend" ] processSettings);
|
|
listen = phpFpmListen;
|
|
}
|