diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-03-28 16:51:48 +0800 | 
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-03-28 16:51:48 +0800 | 
| commit | acc2e0034bd800fde80765bacfa0eb3a91233d4c (patch) | |
| tree | b589a4e374e7b2dd6e59fc9d00bd6a67e185db1c /services/docker/git-server/app/lighttpd | |
| parent | 7605582857b10a627f19a1b1a830db25aa077377 (diff) | |
| download | crupest-acc2e0034bd800fde80765bacfa0eb3a91233d4c.tar.gz crupest-acc2e0034bd800fde80765bacfa0eb3a91233d4c.tar.bz2 crupest-acc2e0034bd800fde80765bacfa0eb3a91233d4c.zip | |
fix(git): cgit clone urls.
Diffstat (limited to 'services/docker/git-server/app/lighttpd')
| -rw-r--r-- | services/docker/git-server/app/lighttpd/lighttpd.conf | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/services/docker/git-server/app/lighttpd/lighttpd.conf b/services/docker/git-server/app/lighttpd/lighttpd.conf index d6c30cd..cb08baa 100644 --- a/services/docker/git-server/app/lighttpd/lighttpd.conf +++ b/services/docker/git-server/app/lighttpd/lighttpd.conf @@ -53,12 +53,14 @@ $HTTP["url"] =^ "/git" {          $HTTP["url"] =^ "/git/private" {              setenv.add-environment = ( -                "CGIT_CONFIG" => "/app/cgit/private" +                "CGIT_CONFIG" => "/app/cgit/private", +                "CRUPEST_ROOT_URL" => env.CRUPEST_ROOT_URL,              )          }          else {              setenv.add-environment = ( -                "CGIT_CONFIG" => "/app/cgit/public" +                "CGIT_CONFIG" => "/app/cgit/public", +                "CRUPEST_ROOT_URL" => env.CRUPEST_ROOT_URL,              )          } | 
