aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostclass/pkg_repository
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 /scripts/hostclass/pkg_repository
parent340f777a8db62139e252ce96ef44bc57bcf03300 (diff)
downloadinfrastructure-f2735a201192f01a461f4c3e75d9636dc54e2ec2.tar.gz
rotate nginx logs
Diffstat (limited to 'scripts/hostclass/pkg_repository')
-rw-r--r--scripts/hostclass/pkg_repository1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/hostclass/pkg_repository b/scripts/hostclass/pkg_repository
index 9a3d448..b6dff4a 100644
--- a/scripts/hostclass/pkg_repository
+++ b/scripts/hostclass/pkg_repository
@@ -55,6 +55,7 @@ install_certificate_key nginx "$poudriere_https_key"
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
sysrc -v nginx_enable=YES
service nginx restart