From fe038a5b87987e1176bd0a20522483f53c4f17c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Thu, 23 Feb 2023 14:28:30 +0000 Subject: [PATCH] fix: nginx config workers (#258) --- docker/nginx/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index 0fae1c60..86f2bd38 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -2,10 +2,11 @@ daemon off; user www-data www-data; error_log /dev/stdout info; +worker_processes auto; +worker_rlimit_nofile 50000; + events { worker_connections 2048; - worker_processes auto; - worker_rlimit_nofile 50000; } http {