summaryrefslogtreecommitdiff
path: root/hosts/kay
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-12-23 17:20:29 +0530
committersinanmohd <sinan@sinanmohd.com>2023-12-23 17:20:50 +0530
commitdf2bfb016b19124591c608654bf7010f7b128dce (patch)
tree9b892c94bac89a40c9152a530ada1ca46c8f3e0b /hosts/kay
parent4d1a6b9e5edd81e89e71fa98a1ab618bcd6ada31 (diff)
kay/nginx: bump worker_connections
512 worker_connections are not enough while connecting to upstream
Diffstat (limited to 'hosts/kay')
-rw-r--r--hosts/kay/modules/www.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/kay/modules/www.nix b/hosts/kay/modules/www.nix
index a63f2ba..84627eb 100644
--- a/hosts/kay/modules/www.nix
+++ b/hosts/kay/modules/www.nix
@@ -21,6 +21,8 @@ in
services.nginx = {
enable = true;
+ eventsConfig = "worker_connections 1024;";
+
virtualHosts = {
"${domain}" = {
forceSSL = true;