diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-24 22:27:52 -0500 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-24 22:27:52 -0500 |
commit | f2735a201192f01a461f4c3e75d9636dc54e2ec2 (patch) | |
tree | cec1095068e9e8bbbe9b61455bac974212bb9f22 /files/etc/newsyslog.conf.d | |
parent | 340f777a8db62139e252ce96ef44bc57bcf03300 (diff) | |
download | infrastructure-f2735a201192f01a461f4c3e75d9636dc54e2ec2.tar.gz |
rotate nginx logs
Diffstat (limited to 'files/etc/newsyslog.conf.d')
-rw-r--r-- | files/etc/newsyslog.conf.d/nginx.conf.common | 2 |
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 |