From dd50175c589b1c548641b1756e31ceb0f95a2529 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sat, 28 Oct 2023 17:35:14 +0200 Subject: [PATCH] httpd: limit number of spawned processes --- modules/userdir.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/userdir.nix b/modules/userdir.nix index 6a2deab..95c42b5 100644 --- a/modules/userdir.nix +++ b/modules/userdir.nix @@ -25,6 +25,8 @@ in services.httpd = { enable = true; enablePHP = true; + maxClients = 10; + mpm = "prefork"; extraModules = [ "userdir" ]; virtualHosts.${domain} = {