aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-04 07:46:52 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-11 18:36:50 -0700
commite4da5eae598fca330ee1bccfd7be4f63df1e5cff (patch)
tree1fde5e1e9e852100587f2629685c20f8a98b445f
parentAdd extra newline before list starts to render it correctly (diff)
downloadsite-configs-e4da5eae598fca330ee1bccfd7be4f63df1e5cff.zip
Fix cgit repos dir
When setting the scan path in cgit, we need it to be a absolute path from the chroot it is in, not from the regular filesystem outside of that.
-rw-r--r--roles/obsd_cgit/defaults/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/obsd_cgit/defaults/main.yml b/roles/obsd_cgit/defaults/main.yml
index 185edab..655724a 100644
--- a/roles/obsd_cgit/defaults/main.yml
+++ b/roles/obsd_cgit/defaults/main.yml
@@ -1,3 +1,4 @@
cgit_domain: "{{ cgit_domain }}"
cgit_cache_dir: /var/www/cgit/cache
-cgit_repos_dir: /var/www/pub/git
+# Absolute path from /var/www chroot that httpd runs in
+cgit_repos_dir: /pub/git