Add newsyslog.conf for nginx log rotation - delete logs after 90 days

This commit is contained in:
wiz 2021-09-11 08:39:35 +09:00
parent 2e122a9be1
commit 3fad765269
No known key found for this signature in database
GPG Key ID: A394E332255A6173
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
/var/log/nginx/access.log 644 90 * @T00 C /var/run/nginx.pid 30
/var/log/nginx/error.log 644 90 * @T00 C /var/run/nginx.pid 30
/var/log/nginx/bisq-access.log 644 90 * @T00 C /var/run/nginx.pid 30
/var/log/nginx/bisq-error.log 644 90 * @T00 C /var/run/nginx.pid 30
/var/log/nginx/liquid-access.log 644 90 * @T00 C /var/run/nginx.pid 30
/var/log/nginx/liquid-error.log 644 90 * @T00 C /var/run/nginx.pid 30