Instaweb is a convenience setup script. For it to work it needs to know how to configure the webserver. Since nginx isn't supported you can't use it.
Instead you should read the gitweb
manual and create your own configs from that information.
setting up git instaweb with nginx
Question
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?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow