nginx 267 B

12345678910111213
  1. /var/log/nginx/*log /var/log/nginx/domains/*log {
  2. rotate 4
  3. weekly
  4. missingok
  5. notifempty
  6. compress
  7. delaycompress
  8. create 640
  9. sharedscripts
  10. postrotate
  11. [ -f /run/nginx.pid ] && kill -USR1 `cat /run/nginx.pid`
  12. endscript
  13. }