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 /scripts/hostclass/public_webserver | |
parent | 340f777a8db62139e252ce96ef44bc57bcf03300 (diff) | |
download | infrastructure-f2735a201192f01a461f4c3e75d9636dc54e2ec2.tar.gz |
rotate nginx logs
Diffstat (limited to 'scripts/hostclass/public_webserver')
-rw-r--r-- | scripts/hostclass/public_webserver | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/hostclass/public_webserver b/scripts/hostclass/public_webserver index e92149f..54c0545 100644 --- a/scripts/hostclass/public_webserver +++ b/scripts/hostclass/public_webserver @@ -24,6 +24,7 @@ install_template -m 0644 "${nginx_conf_dir}/nginx.conf" [ -f "${nginx_conf_dir}/vhosts.conf" ] || install -Cv -m 0644 /dev/null "${nginx_conf_dir}/vhosts.conf" sysrc -v nginx_enable=YES service nginx restart +install_file -m 0644 /etc/newsyslog.conf.d/nginx.conf # Acquire public TLS certificates. install_template -m 0600 /usr/local/etc/sudoers.d/acme |