From c59991c2e041bfc1a931b02c335c6c3689aeb995 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Mon, 9 Aug 2021 12:14:12 +0200 Subject: [PATCH] bump worker_connections number and auto detect worker_processes number --- docker/nginx/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index fe9ba2e9..2ce92cef 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -16,8 +16,8 @@ # See https://github.com/openresty/docker-openresty/blob/master/README.md#nginx-config-files # -user root; -worker_processes 1; +user root; +worker_processes auto; #error_log logs/error.log; #error_log logs/error.log notice; @@ -31,7 +31,7 @@ env SKYNET_SERVER_API; env ACCOUNTS_ENABLED; events { - worker_connections 1024; + worker_connections 8192; }