13 lines
345 B
Nix
13 lines
345 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";
|
||
|
} // processSettings;
|
||
|
listen = phpFpmListen;
|
||
|
}
|