nur/modules/web-apps/wordpress/phpfpm-conf.nix
2021-11-22 21:54:05 +01:00

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