I'm trying to setup gitweb with Nginx
.
But git instaweb
supports very few web servers including httpd, apache, webrick etc.
I tried to use nginx as http daemon in git instaweb, but it failed.
[smit@smit-pc:/src/project]$ git instaweb -d nginx
Unknown httpd specified: nginx
I also tried to configure it in .git/config
as given in git-instaweb man pages.
[instaweb]
local = true
httpd = nginx
port = 4321
browser = firefox
It's not working either. Is there any way or hack to make it work?