diff options
Diffstat (limited to 'roles/obsd_cgit')
| -rw-r--r-- | roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 b/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 index a7d0385..206525b 100644 --- a/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 +++ b/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 @@ -11,11 +11,8 @@ server "{{ cgit_domain }}" { no fastcgi } - # Explicitly route root (/) to cgit via fastcgi - location "/" { - root "/cgi-bin/cgit.cgi" - fastcgi socket "/run/slowcgi.sock" - } + # Don't send a "Server: OpenBSD httpd" header. + no banner # Route any other cgit paths/actions via fastcgi root "/cgi-bin/cgit.cgi" |