From e10600557e453589be4c5acac28bafad27fdaad4 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 16 Aug 2022 11:10:58 +0100 Subject: [PATCH] Reduce differences with upstream default configuration: 1. reduce default error_log severity to "notice" from implicit default level of "error" (more verbosity by default). 2. remove "tcp_nodelay on" since "on" is the default setting. --- nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 3cfe698..dc33317 100644 --- a/nginx.conf +++ b/nginx.conf @@ -4,7 +4,7 @@ user nginx; worker_processes auto; -error_log /var/log/nginx/error.log; +error_log /var/log/nginx/error.log notice; pid /run/nginx.pid; # Load dynamic modules. See /usr/share/doc/nginx/README.dynamic. @@ -23,7 +23,6 @@ http { sendfile on; tcp_nopush on; - tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 4096;