nginx/nginx.logrotate
Luboš Uhliarik 4132ca2e66 Resolves: #2096174 - RFE: add nginx:1.22 module stream
switch to pcre2
add stream_geoip_module and stream_realip_module
enable kTLS support
2022-10-23 05:33:32 +02:00

14 lines
233 B
Plaintext

/var/log/nginx/*log {
daily
rotate 10
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}