From f2735a201192f01a461f4c3e75d9636dc54e2ec2 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Sun, 24 Nov 2024 22:27:52 -0500 Subject: rotate nginx logs --- files/etc/newsyslog.conf.d/nginx.conf.common | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 files/etc/newsyslog.conf.d/nginx.conf.common (limited to 'files/etc/newsyslog.conf.d/nginx.conf.common') diff --git a/files/etc/newsyslog.conf.d/nginx.conf.common b/files/etc/newsyslog.conf.d/nginx.conf.common new file mode 100644 index 0000000..b30e567 --- /dev/null +++ b/files/etc/newsyslog.conf.d/nginx.conf.common @@ -0,0 +1,2 @@ +/var/log/nginx/access.log 644 7 1024 * JC /var/run/nginx.pid SIGUSR1 +/var/log/nginx/error.log 644 7 1024 * JC /var/run/nginx.pid SIGUSR1 -- cgit v1.2.3