nginx/nginx.logrotate
Luboš Uhliarik 9379947f8d Resolves: RHEL-14713 - add nginx:1.24 to RHEL 9.4
Added new nginx stream 1.24
2024-01-18 21:08:36 +01:00

15 lines
261 B
Plaintext

/var/log/nginx/*.log {
create 0640 nginx root
daily
rotate 10
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}