nginx-proxy-manager-zh/docker/rootfs/etc/logrotate.d/nginx-proxy-manager

25 lines
523 B
Plaintext
Raw Normal View History

2021-06-29 14:40:56 -04:00
/data/logs/*_access.log /data/logs/*/access.log {
create 0644 npm npm
2021-05-30 14:19:05 -04:00
weekly
rotate 4
missingok
notifempty
compress
sharedscripts
postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}
2021-06-29 14:40:56 -04:00
/data/logs/*_error.log /data/logs/*/error.log {
create 0644 npm npm
2021-05-30 14:19:05 -04:00
weekly
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
2021-06-29 14:40:56 -04:00
}