r/nginx: Configure logrotate
The default `logrotate` configuration for _nginx_ may not be appropriate for high-volume servers. The `nginx_keep_num_logs` variable is now available to control how many days of logs are kept.
This commit is contained in:
@@ -5,3 +5,4 @@ nginx_ssl_session_timeout: 10m
|
||||
nginx_ssl_ciphers: '{{ nginx_default_ssl_ciphers }}'
|
||||
nginx_log_syslog: true
|
||||
nginx_redirect_http_https: false
|
||||
nginx_keep_num_logs: 10
|
||||
|
||||
Reference in New Issue
Block a user