diff options
Diffstat (limited to 'roles/obsd_cgit/templates/httpd.d/cgit.conf.j2')
| -rw-r--r-- | roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 b/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 index a10b880..d309057 100644 --- a/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 +++ b/roles/obsd_cgit/templates/httpd.d/cgit.conf.j2 @@ -7,7 +7,7 @@ server "{{ obsd_cgit_domain }}" { # Serve cgit static files (cgit.css, cgit.png) directly from disk location "/cgit.*" { - root "/cgit" + root "/htdocs/cgit" no fastcgi } @@ -15,6 +15,6 @@ server "{{ obsd_cgit_domain }}" { no banner # Route any other cgit paths/actions via fastcgi - root "/cgi-bin/cgit.cgi" + root "/htdocs/cgit/cgi-bin/cgit.cgi" fastcgi socket "/run/slowcgi.sock" } |