summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-07 16:17:38 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-07 16:17:38 +0200
commit2030ef69996d06b2f11d2d250cc4da65277974ad (patch)
treebb88e7fe71d8690ca535d71609a0f9f8e06ba734
parentswap upstreams (diff)
downloadRory-Open-Architecture-2030ef69996d06b2f11d2d250cc4da65277974ad.tar.xz
Reduce nginx process count
-rwxr-xr-xhost/Rory-nginx/configuration.nix4
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 = {