diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-07-04 16:28:22 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-07-04 16:28:22 -0400 |
| commit | f3c69c3fc06f342c25cfb043f1d0a8169fb034f9 (patch) | |
| tree | eead0ccdaf562038ce7dfab61b27fa0e7f7b1a6f /nginx/homepage.conf | |
| parent | 767f89695db30c496c20cde28be80b0d69931e2d (diff) | |
comments
Diffstat (limited to 'nginx/homepage.conf')
| -rw-r--r-- | nginx/homepage.conf | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
