Created
November 8, 2016 09:47
-
-
Save pulkomandy/64d056ed74d6dd37779c6ef551e09d98 to your computer and use it in GitHub Desktop.
Lighttpd + cgit + debian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
css=/git/media/cgit.css | |
logo=/git/media/cgit.png | |
virtual-root=/git/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.modules += ( "mod_alias", "mod_rewrite" ) | |
$HTTP["url"] =~ "^/git/" { | |
compress.filetype = () | |
alias.url = ( | |
"/git/media" => "/usr/share/cgit", | |
"/git" => "/usr/lib/cgit", | |
) | |
cgi.assign = ( ".cgi" => "" ) | |
index-file.names = ( "cgit.cgi" ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment