Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
fcgiwrap setup for gitweb + gitolite
; Spawn fcgiwrap as the user owning the git repositories, with a socket writeable by nginx
command = /usr/sbin/fcgiwrap
user = gitolite
socket = unix:///var/run/supervisor/%(program_name)s.sock
socket_owner = gitolite:nginx
socket_mode = 0770
# nginx configuration for gitweb
server {
listen 80;
location / {
root /usr/share/gitweb;
index index.cgi;
include fastcgi_params;
gzip off;
if ($uri ~ "/index.cgi") {
fastcgi_pass unix:/var/run/supervisor/fcgiwrap_gitolite.sock;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.