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.
This commit is contained in:
Joe Orton 2022-08-16 11:10:58 +01:00
parent 0e8fc9c4a8
commit 2769972c79

View File

@ -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;