Fix discrepancy between README and defaults for nginx_access_log_variable.

This commit is contained in:
Stefan Hornburg (Racke) 2021-10-17 15:01:41 +02:00
parent 552382318b
commit 2c430d34ac
No known key found for this signature in database
GPG Key ID: 5B93015BFA2720F8
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ The user under which Nginx will run. Defaults to `nginx` for RedHat, `www-data`
`nginx_worker_processes` should be set to the number of cores present on your machine (if the default is incorrect, find this number with `grep processor /proc/cpuinfo | wc -l`). `nginx_worker_connections` is the number of connections per process. Set this higher to handle more simultaneous connections (and remember that a connection will be used for as long as the keepalive timeout duration for every client!). You can set `nginx_multi_accept` to `on` if you want Nginx to accept all connections immediately.
nginx_error_log: "/var/log/nginx/error.log warn"
nginx_access_log: "/var/log/nginx/access.log main buffer=16k"
nginx_access_log: "/var/log/nginx/access.log main buffer=16k flush=2m"
Configuration of the default error and access logs. Set to `off` to disable a log entirely.