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 | e6d6b091d0854fa6e25eb68105cc6cb5f088a957 (patch) | |
| tree | c59ecbf0b5d6a0918c29e71639527113635c5a83 /services/docker/git-server/app/lighttpd | |
| parent | 5593b047786930eeb85864b04e731226655a8c76 (diff) | |
| download | crupest-e6d6b091d0854fa6e25eb68105cc6cb5f088a957.tar.gz crupest-e6d6b091d0854fa6e25eb68105cc6cb5f088a957.tar.bz2 crupest-e6d6b091d0854fa6e25eb68105cc6cb5f088a957.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,              )          } | 
