diff --git a/config/http/default.nix b/config/http/default.nix index 79bb783..d1a98b7 100644 --- a/config/http/default.nix +++ b/config/http/default.nix @@ -28,6 +28,18 @@ in { }; }; + services.phpfpm.pools.mypool = { + user = "nobody"; + settings = { + "pm" = "dynamic"; + "listen.owner" = config.services.nginx.user; + "pm.max_children" = 75; + "pm.start_servers" = 10; + "pm.min_spare_servers" = 5; + "pm.max_spare_servers" = 20; + }; + }; + security.acme = { acceptTerms = true; defaults.email = "security@${config.mailserver.fqdn}";