0

I want to set up a git server with cgit on the frontend and git-http-backend on the backend. I want to avoid using Nginx/Apache/lighthttpd/etc. right now, and just get it working with uwsgi right now. Here's what I have so far: test.ini

[uwsgi]
http-socket = 127.0.0.1:8000
plugins = cgi
threads = 20
cgi = /=/usr/libexec/cgit/cgit.cgi
cgi = /*/info/refs=/usr/libexec/git-core/git-http-backend
http-socket-modifier1 = 9
check-static = /usr/share/webapps/cgit
master = true

/etc/cgitrc


remove-suffix=1

clone-url=http://127.0.0.1:8000/$CGIT_REPO_URL

enable-index-owner=0

enable-http-clone=0
scan-path=/opt/Repos

With uwsgi --ini test.ini, I can go to my repos and see them. However, I can not clone using git-http-backend. What am I missing?

0 Answers0