From 9b63d4c588d8cfb30cec4e91648c67706e37ffa4 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 5 Oct 2026 18:07:32 -0700 Subject: Retab file --- roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 | 27 +++++++++++++------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'roles/obsd_cgit') 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" } - -- cgit v1.2.3