Install gitweb using Nginx fastcgi

gitweb 是cgi, Nginx 只支持FastCGI, 所以需要加个wrapper

下面是网上搜回来的资料,放在这里备忘:

Slicehost Forum - Nginx + SCM
cactuswax.net gitweb helper scripts
NginxSimpleCGI

等晚上做好了再回来报告

装好了,很顺利
不过后来发现有个 gitserve 更简单,用python 做的http server 包在gitweb.cgi外面,用起来感觉和hg serve一样方便了 :)

Comments