From 3fad7652696d798127b28bdfe2f90d1389bcfe59 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 11 Sep 2021 08:39:35 +0900 Subject: [PATCH] Add newsyslog.conf for nginx log rotation - delete logs after 90 days --- .../{newsyslog.conf => newsyslog-mempool-backend.conf} | 0 production/newsyslog-mempool-nginx.conf | 6 ++++++ 2 files changed, 6 insertions(+) rename production/{newsyslog.conf => newsyslog-mempool-backend.conf} (100%) create mode 100644 production/newsyslog-mempool-nginx.conf diff --git a/production/newsyslog.conf b/production/newsyslog-mempool-backend.conf similarity index 100% rename from production/newsyslog.conf rename to production/newsyslog-mempool-backend.conf diff --git a/production/newsyslog-mempool-nginx.conf b/production/newsyslog-mempool-nginx.conf new file mode 100644 index 000000000..8562b0db6 --- /dev/null +++ b/production/newsyslog-mempool-nginx.conf @@ -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