aboutsummaryrefslogtreecommitdiffstats
path: root/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-19 18:16:09 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-19 18:16:09 -0700
commit0c03f5b5e5e7b57dd6d617fa7513d7f5e807e877 (patch)
tree1d530c7e912697513d9cff14f30b06272a939f21 /roles/obsd_cgit/templates/httpd.d/cgit.conf.j2
parentFix typo for directories (diff)
downloadsite-configs-0c03f5b5e5e7b57dd6d617fa7513d7f5e807e877.zip
Rename cgit to git and acme to ssl for httpd
Diffstat (limited to 'roles/obsd_cgit/templates/httpd.d/cgit.conf.j2')
-rw-r--r--roles/obsd_cgit/templates/httpd.d/cgit.conf.j220
1 files changed, 0 insertions, 20 deletions
diff --git a/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 b/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2
deleted file mode 100644
index d309057..0000000
--- a/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2
+++ /dev/null
@@ -1,20 +0,0 @@
-server "{{ obsd_cgit_domain }}" {
- listen on egress tls port 443
- tls {
- certificate "/etc/ssl/{{ obsd_cgit_domain }}.fullchain.pem"
- key "/etc/ssl/private/{{ obsd_cgit_domain }}.key"
- }
-
- # Serve cgit static files (cgit.css, cgit.png) directly from disk
- location "/cgit.*" {
- root "/htdocs/cgit"
- no fastcgi
- }
-
- # Don't send a "Server: OpenBSD httpd" header.
- no banner
-
- # Route any other cgit paths/actions via fastcgi
- root "/htdocs/cgit/cgi-bin/cgit.cgi"
- fastcgi socket "/run/slowcgi.sock"
-}