List for cgit developers and users
 help / color / mirror / Atom feed
* cannot get cgit display anything except the repo listing page
@ 2021-08-13  7:12 Torsten Kuehnel
  2021-08-13 11:33 ` Ariel Costas
  2021-08-13 21:22 ` Torsten Kuehnel
  0 siblings, 2 replies; 10+ messages in thread
From: Torsten Kuehnel @ 2021-08-13  7:12 UTC (permalink / raw)
  To: cgit

Dear cgit developer,

i have a problem getting cgit display useful information.
i compiled and installed cgit-1.2.3 like it is decribed in the README file and set it up via nginx fastcgi fcgiwrap

nginx config:

server {
	listen 85.17.xx.xx:443 ssl;
        root /var/www/htdocs/cgit;

        access_log  /var/log/cgit/access.log;
        error_log   /var/log/cgit/error.log;

        ssl_certificate /etc/letsencrypt/live/;
        ssl_certificate_key /etc/letsencrypt/live/;
        include /etc/letsencrypt/options-ssl-nginx.conf;
        ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
	try_files   $uri @cgit;

        location ~* ^.+\.(css|png|ico)$ {
                 expires 0;

        location @cgit {
                include fastcgi_params;
                fastcgi_param  SCRIPT_FILENAME  /var/www/htdocs/cgit/cgit.cgi;
                fastcgi_pass   unix:/var/run/fcgiwrap.socket;
                fastcgi_param  PATH_INFO $uri;
                fastcgi_param  HTTP_HOST $server_name;
                fastcgi_param  QUERY_STRING  $args;


root-title=Git Verzeichnisse
snapshots=tar.gz tar.bz2



In the /tmp/ directory is a git repository "repo01" with one commit in it, owned completely by www-data, the user nginx is run with.

The result ist displaying the proper cgit "welcome" page with the one repo listed, Idle for 8 minutes. But the problem is, following any of the presented links like "summary", "log", or "tree", results in displaying the same entry page which lists the repo, but shows no content.

Spent to days on playing around with the nginx and cgitrc config, but nothing useful happens. The permissions on the repo are fully set to the www-data user. The url changes when i choose a link, but the displayed result is always the same, displaying the overview page of available repos.

Thanks for any help in advance.

Torsten Dieter Kuehnel
Torsten Kuehnel <>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-08-16 11:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13  7:12 cannot get cgit display anything except the repo listing page Torsten Kuehnel
2021-08-13 11:33 ` Ariel Costas
2021-08-13 20:39   ` Torsten Kuehnel
2021-08-13 21:24     ` Ariel Costas
2021-08-13 22:03       ` Torsten Kuehnel
2021-08-14 22:10         ` Ariel Costas
2021-08-15 19:49           ` Torsten Kuehnel
2021-08-15 22:56             ` june
2021-08-16 11:50             ` Ariel Costas
2021-08-13 21:22 ` Torsten Kuehnel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).