aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostclass/git_server
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2025-12-05 12:55:46 -0500
committerCullum Smith <cullum@sacredheartsc.com>2025-12-05 12:55:46 -0500
commitac216a9476eaf0f64105e992a7d8d461ccda9d69 (patch)
tree5767b0e382e2db6d7188f1200adce14a8efafd0b /scripts/hostclass/git_server
parent5ebf903ec5b9a8d5a569c5e6ceb6fb24adabf8ed (diff)
downloadinfrastructure-ac216a9476eaf0f64105e992a7d8d461ccda9d69.tar.gz
block AI slop
Diffstat (limited to 'scripts/hostclass/git_server')
-rw-r--r--scripts/hostclass/git_server7
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