12 lines
393 B
Nix
12 lines
393 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;
|
|
}
|