aboutsummaryrefslogtreecommitdiff
path: root/files/etc/newsyslog.conf.d
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-11-24 22:27:52 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-11-24 22:27:52 -0500
commitf2735a201192f01a461f4c3e75d9636dc54e2ec2 (patch)
treecec1095068e9e8bbbe9b61455bac974212bb9f22 /files/etc/newsyslog.conf.d
parent340f777a8db62139e252ce96ef44bc57bcf03300 (diff)
downloadinfrastructure-f2735a201192f01a461f4c3e75d9636dc54e2ec2.tar.gz
rotate nginx logs
Diffstat (limited to 'files/etc/newsyslog.conf.d')
-rw-r--r--files/etc/newsyslog.conf.d/nginx.conf.common2
1 files changed, 2 insertions, 0 deletions
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