summary refs log tree commit diff
path: root/host/Rory-nginx/configuration.nix
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 /host/Rory-nginx/configuration.nix
parentswap upstreams (diff)
downloadRory-Open-Architecture-2030ef69996d06b2f11d2d250cc4da65277974ad.tar.xz
Reduce nginx process count
Diffstat (limited to 'host/Rory-nginx/configuration.nix')
-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 = {