From 95d179244b74488745f57471be3f879c3f2d4041 Mon Sep 17 00:00:00 2001 From: misharu Date: Sat, 21 Mar 2026 22:03:41 +0100 Subject: [PATCH] nginx: Fix default configuration for better performance Change error_log level from debug to error. Debug-level logging generates excessive I/O under load, and is not appropriate as a default for the example application. Increase worker_connections from 32 to 128 to provide adequate headroom for concurrent connection benchmarks. Signed-off-by: misharu --- nginx/rootfs/nginx/conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/rootfs/nginx/conf/nginx.conf b/nginx/rootfs/nginx/conf/nginx.conf index 0ff3998d..987b9ad4 100644 --- a/nginx/rootfs/nginx/conf/nginx.conf +++ b/nginx/rootfs/nginx/conf/nginx.conf @@ -2,10 +2,10 @@ worker_processes 1; daemon off; master_process off; -error_log logs/error.log debug; +error_log logs/error.log error; events { - worker_connections 32; + worker_connections 128; } http {