mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 21:49:22 -05:00
add nginx logrotate configuration
This commit is contained in:
parent
b022108cc9
commit
48f1d5627e
14
logrotate.d/nginx
Normal file
14
logrotate.d/nginx
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
/var/log/nginx/*log {
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
create 640 http log
|
||||||
|
sharedscripts
|
||||||
|
compress
|
||||||
|
postrotate
|
||||||
|
test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
|
||||||
|
endscript
|
||||||
|
daily
|
||||||
|
rotate 10
|
||||||
|
maxage 10
|
||||||
|
delaycompress
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user