r/nginx: logrotate: do not delay compressing
_nginx_ access logs are typically either very small or very large. For small log files, it's fast enough to decompress them on the fly if necessary. For large files, they may take up so much space in uncompressed form that the log volume fills too quickly. In either case, compressing the files as soon as they are rotated is a good option, especially since their contents should already be sent to Loki.frigate-exporter
parent
dfdddd551f
commit
219fe75424
|
@ -5,7 +5,6 @@
|
|||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
|
||||
|
|
Loading…
Reference in New Issue