Score:0

How to set up a server with cgit on the frontend and git-http-backend on the backend without nginx

cn flag

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?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.