diff options
Diffstat (limited to 'roles/git/files/gitolite-cgit/etc/cgit.conf')
-rw-r--r-- | roles/git/files/gitolite-cgit/etc/cgit.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/git/files/gitolite-cgit/etc/cgit.conf b/roles/git/files/gitolite-cgit/etc/cgit.conf new file mode 100644 index 0000000..84b6716 --- /dev/null +++ b/roles/git/files/gitolite-cgit/etc/cgit.conf @@ -0,0 +1,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; + } +} |