mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-11-18 10:04:17 +01:00
16 lines
324 B
Plaintext
16 lines
324 B
Plaintext
# Run this configuration hourly, using a dedicated logrotate state file.
|
|
/var/log/nginx/anonymous.access.json {
|
|
hourly
|
|
rotate 6
|
|
maxsize 10M
|
|
missingok
|
|
notifempty
|
|
compress
|
|
delaycompress
|
|
create 0640 www-data adm
|
|
sharedscripts
|
|
postrotate
|
|
/usr/sbin/nginx -s reopen
|
|
endscript
|
|
}
|