diff options
Diffstat (limited to 'roles/cgit/templates/cgit.httpd.conf.j2')
-rw-r--r-- | roles/cgit/templates/cgit.httpd.conf.j2 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/cgit/templates/cgit.httpd.conf.j2 b/roles/cgit/templates/cgit.httpd.conf.j2 new file mode 100644 index 0000000..a8b4707 --- /dev/null +++ b/roles/cgit/templates/cgit.httpd.conf.j2 @@ -0,0 +1,17 @@ + +# httpd ~~ /etc/httpd.d/cgit.conf" +# managed by Ansible + +ext_ip="0.0.0.0" +server "cgit" { + listen on $ext_ip port {{ cgit_port }} + + # serve cgit static files directly: cgit.css and cgit.png + location "/cgit.*" { + root "/cgit" + no fastcgi + } + # cgit CGI + root "/cgi-bin/cgit.cgi" + fastcgi socket "/run/slowcgi.sock" +} |