aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-05 18:07:32 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-11 18:36:50 -0700
commit9b63d4c588d8cfb30cec4e91648c67706e37ffa4 (patch)
treefe5fb36915c709d2d1e04b257909eeca1407c54b
parentEnable more cgit features, add markdown renderer, and extra head (diff)
downloadsite-configs-9b63d4c588d8cfb30cec4e91648c67706e37ffa4.zip
Retab file
-rw-r--r--roles/obsd_cgit/templates/httpd.d/cgit.conf.j227
1 files changed, 13 insertions, 14 deletions
diff --git a/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 b/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2
index 206525b..0b903e4 100644
--- a/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2
+++ b/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2
@@ -1,21 +1,20 @@
server "{{ cgit_domain }}" {
- listen on egress tls port 443
- tls {
- certificate "/etc/ssl/{{ cgit_domain }}.fullchain.pem"
- key "/etc/ssl/private/{{ cgit_domain }}.key"
- }
+ listen on egress tls port 443
+ tls {
+ certificate "/etc/ssl/{{ cgit_domain }}.fullchain.pem"
+ key "/etc/ssl/private/{{ cgit_domain }}.key"
+ }
- # Serve cgit static files (cgit.css, cgit.png) directly from disk
- location "/cgit.*" {
- root "/cgit"
- no fastcgi
- }
+ # Serve cgit static files (cgit.css, cgit.png) directly from disk
+ location "/cgit.*" {
+ root "/cgit"
+ no fastcgi
+ }
# Don't send a "Server: OpenBSD httpd" header.
no banner
- # Route any other cgit paths/actions via fastcgi
- root "/cgi-bin/cgit.cgi"
- fastcgi socket "/run/slowcgi.sock"
+ # Route any other cgit paths/actions via fastcgi
+ root "/cgi-bin/cgit.cgi"
+ fastcgi socket "/run/slowcgi.sock"
}
-