diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-05-07 16:17:38 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-05-07 16:17:38 +0200 |
commit | 2030ef69996d06b2f11d2d250cc4da65277974ad (patch) | |
tree | bb88e7fe71d8690ca535d71609a0f9f8e06ba734 | |
parent | swap upstreams (diff) | |
download | Rory-Open-Architecture-2030ef69996d06b2f11d2d250cc4da65277974ad.tar.xz |
Reduce nginx process count
-rwxr-xr-x | host/Rory-nginx/configuration.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix index eaea14b..8400a75 100755 --- a/host/Rory-nginx/configuration.nix +++ b/host/Rory-nginx/configuration.nix @@ -26,11 +26,11 @@ recommendedProxySettings = true; recommendedTlsSettings = true; appendConfig = '' - worker_processes 512; + worker_processes 16; ''; eventsConfig = '' #use kqueue; - worker_connections 1024; + worker_connections 512; ''; upstreams = import ./matrix/upstreams.nix; virtualHosts = { |