aboutsummaryrefslogblamecommitdiff
path: root/roles/git/files/gitolite-cgit/etc/cgit.conf
blob: 84b6716887975550424fa6b4bd0d1047ad132dfb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                
server {
  listen                80 default_server;

  root                  /usr/share/webapps/cgit;
  try_files             $uri @cgit;

  location @cgit {
    include             fastcgi_params;
    fastcgi_param       SCRIPT_FILENAME $document_root/cgit.cgi;
    fastcgi_param       PATH_INFO       $uri;
    fastcgi_param       QUERY_STRING    $args;
    fastcgi_pass        unix:/run/fcgiwrap.sock;
  }
}