From f3c69c3fc06f342c25cfb043f1d0a8169fb034f9 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Sat, 4 Jul 2026 16:28:22 -0400 Subject: comments --- nginx/homepage.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nginx/homepage.conf b/nginx/homepage.conf index a15b154..fc228b0 100644 --- a/nginx/homepage.conf +++ b/nginx/homepage.conf @@ -31,6 +31,7 @@ server { root /usr/share/cgit; try_files $uri @cgit; + # http cloning location ~ /.+/(info/refs|git-upload-pack) { include fastcgi_params; fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend; @@ -41,6 +42,7 @@ server { fastcgi_pass unix:/run/fcgiwrap.socket; } + # else location @cgit { include fastcgi_params; fastcgi_param SCRIPT_FILENAME /usr/lib/cgit/cgit.cgi; -- cgit v1.2.3