diff options
| author | Cullum Smith <cullum@sacredheartsc.com> | 2025-12-05 12:55:46 -0500 |
|---|---|---|
| committer | Cullum Smith <cullum@sacredheartsc.com> | 2025-12-05 12:55:46 -0500 |
| commit | ac216a9476eaf0f64105e992a7d8d461ccda9d69 (patch) | |
| tree | 5767b0e382e2db6d7188f1200adce14a8efafd0b /scripts/hostclass/git_server | |
| parent | 5ebf903ec5b9a8d5a569c5e6ceb6fb24adabf8ed (diff) | |
| download | infrastructure-ac216a9476eaf0f64105e992a7d8d461ccda9d69.tar.gz | |
block AI slop
Diffstat (limited to 'scripts/hostclass/git_server')
| -rw-r--r-- | scripts/hostclass/git_server | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/hostclass/git_server b/scripts/hostclass/git_server index ee576e5..65d8264 100644 --- a/scripts/hostclass/git_server +++ b/scripts/hostclass/git_server @@ -94,13 +94,16 @@ install_file -m 0644 \ "${cgit_webroot}/custom-style.css" \ "${cgit_webroot}/custom-favicon.ico" \ "${cgit_webroot}/custom-logo.png" \ - "${cgit_webroot}/custom-robots.txt" \ "${cgit_webroot}/custom-head-include.html" \ "${cgit_webroot}/custom-header.html" +install_template -m 0644 \ + "${cgit_webroot}/custom-robots.txt" # Generate nginx configuration. install_file -m 0644 /usr/local/etc/nginx/fastcgi_params -install_template -m 0644 /usr/local/etc/nginx/nginx.conf +install_template -m 0644 \ + /usr/local/etc/nginx/nginx.conf \ + /usr/local/etc/nginx/noai.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 |
