From mboxrd@z Thu Jan 1 00:00:00 1970 From: thuban at yeuxdelibad.net (Thuban) Date: Sat, 14 Mar 2015 11:00:23 +0100 Subject: cgit and nginx on debian In-Reply-To: References: <20150314082549.GB2814@localhost> Message-ID: <20150314100023.GE2814@localhost> * Lukas Tribus le [14-03-2015 09:28:17 +0100]: > > > For now, I have installer nginx, cgit and fcgiwrap. I have access to > > cgit index page, but as soon as I wan't to go further (click on a repo, > > on tree or commit...), it fails. The url seems broken, because i repeat > > itself, ie : http://git.mydomain.com/shaarlyp/shaarlyp/tree/ > > > > Here is my nginx config : > > > > server { > > listen 80; > > server_name localhost; > > index cgit.cgi; > > > > root /usr/share/cgit; > > try_files $uri @cgit; > > > > location @cgit { > > include fastcgi_params; > > fastcgi_param SCRIPT_FILENAME /usr/lib/cgit/cgit.cgi; > > fastcgi_param PATH_INFO $uri; > > fastcgi_param QUERY_STRING $args; > > fastcgi_param HTTP_HOST $server_name; > > fastcgi_pass unix:/run/fcgiwrap.socket; > > } > > } > > > > cgit is installed via debian jessie package. > > > > Do you have any recent documentation, or any advice? > > http://lists.zx2c4.com/pipermail/cgit/2015-January/002345.html > > > Lukas Ok, after adding virtual-root=/ to /etc/cgitrc, now url seems ok. But still, when I click on "tree" or "log", I see the message "No repositories found". I can't figure what's wrong here... Regards. -- Thuban PubKey : http://yeuxdelibad.net/Divers/thuban.pub