ansible-roles/roles/nginx/templates/logrotate.conf.j2

13 lines
242 B
Plaintext
Raw Normal View History

2021-12-01 19:13:34 +01:00
/var/log/nginx/*log {
create 0644 nginx nginx
daily
rotate 60
missingok
notifempty
compress
sharedscripts
postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}