Files
nginx-proxy-manager/rootfs/etc/logrotate
2024-03-03 23:04:20 +01:00

13 lines
283 B
Plaintext

/data/nginx/*.log {
daily
rotate 3
missingok
notifempty
compress
sharedscripts
postrotate
if [ -f /usr/local/nginx/logs/nginx.pid ]; then nginx -s reload; fi
kill "$(pgrep goaccess)"
endscript
}