aboutsummaryrefslogtreecommitdiff
path: root/roles/cgit/templates/spawn-fcgi.cgit.j2
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-10-22 20:28:49 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-10-22 20:28:49 +0000
commit84682c67b65e51be9168bb87d30d31bbd6d614a5 (patch)
tree7bcc1aaa0fdaaf494379d67694007b61462f684a /roles/cgit/templates/spawn-fcgi.cgit.j2
parentfeat: add private (diff)
downloadinfra-84682c67b65e51be9168bb87d30d31bbd6d614a5.tar.gz
feat: add cgit
Diffstat (limited to 'roles/cgit/templates/spawn-fcgi.cgit.j2')
-rw-r--r--roles/cgit/templates/spawn-fcgi.cgit.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/cgit/templates/spawn-fcgi.cgit.j2 b/roles/cgit/templates/spawn-fcgi.cgit.j2
new file mode 100644
index 0000000..8cbfced
--- /dev/null
+++ b/roles/cgit/templates/spawn-fcgi.cgit.j2
@@ -0,0 +1,6 @@
1# {{ ansible_managed }}
2FCGI_SOCKET=/var/run/cgit.sock
3FCGI_PROGRAM="/usr/bin/fcgiwrap -f"
4FCGI_USER=git
5FCGI_GROUP=git
6FCGI_EXTRA_OPTIONS="-U nginx -G nginx"