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 --- scripts/hostclass/smtp_server/10-rspamd | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/hostclass/smtp_server/10-rspamd') diff --git a/scripts/hostclass/smtp_server/10-rspamd b/scripts/hostclass/smtp_server/10-rspamd index 4cc66c6..ce7ec5e 100644 --- a/scripts/hostclass/smtp_server/10-rspamd +++ b/scripts/hostclass/smtp_server/10-rspamd @@ -93,6 +93,7 @@ pw groupmod "$redis_user" -m "$rspamd_user" install_template -m 0644 \ /usr/local/etc/nginx/nginx.conf \ /usr/local/etc/nginx/vhosts.conf +install_file -m 0644 /etc/newsyslog.conf.d/nginx.conf # Create HTTP service principal and keytab. add_principal -nokey -x "containerdn=${services_basedn}" "HTTP/${fqdn}" -- cgit v1.2.3