httpd: limit number of spawned processes

This commit is contained in:
Rouven Seifert 2023-10-28 17:35:14 +02:00
parent 245d5bc498
commit dd50175c58
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -25,6 +25,8 @@ in
services.httpd = { services.httpd = {
enable = true; enable = true;
enablePHP = true; enablePHP = true;
maxClients = 10;
mpm = "prefork";
extraModules = [ "userdir" ]; extraModules = [ "userdir" ];
virtualHosts.${domain} = { virtualHosts.${domain} = {