Your IP : 216.73.217.127


Current Path : /etc/logrotate.d/
Upload File :
Current File : //etc/logrotate.d/nginx

/var/log/nginx/access.log {
    weekly
    rotate 4
    maxsize 1G
    missingok
    create 0644 root root
    compress
    maxage 90
    postrotate
    kill -USR1 $(cat /var/run/nginx.pid)
    endscript
}

/var/log/nginx/error.log {
    weekly
    rotate 4
    missingok
    create 0644 root root
    compress
    maxage 90
    postrotate
    kill -USR1 $(cat /var/run/nginx.pid)
    endscript
}