nixpkgs-suyu/modules/services/web-servers/lighttpd
Bjørn Forsman b1f82e428a lighttpd: add cgit sub-service
(cgit is "a hyperfast web frontend for git repositories written in C")

cgit is enabled like this (assuming lighttpd is already enabled):

  services.lighttpd.cgit.enable = true;

and configured verbatim like this (contents of the cgitrc file):

  services.lighttpd.cgit.configText = ''
    cache-size=1000
    scan-path=/srv/git
  '';

cgit will be available from this URL: http://yourserver/cgit

In lighttpd, I've ensured that the cache dir for cgit is created if cgit
is enabled.
2013-06-02 18:41:18 +02:00
..
cgit.nix lighttpd: add cgit sub-service 2013-06-02 18:41:18 +02:00
default.nix lighttpd: add cgit sub-service 2013-06-02 18:41:18 +02:00
gitweb.nix lighttpd: add gitweb as a sub-service 2013-05-06 13:51:09 +03:00