aboutsummaryrefslogtreecommitdiff
path: root/services/docker/git-server/app/lighttpd
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-03-28 16:51:48 +0800
committerYuqian Yang <crupest@crupest.life>2025-03-28 16:51:48 +0800
commitacc2e0034bd800fde80765bacfa0eb3a91233d4c (patch)
treeb589a4e374e7b2dd6e59fc9d00bd6a67e185db1c /services/docker/git-server/app/lighttpd
parent7605582857b10a627f19a1b1a830db25aa077377 (diff)
downloadcrupest-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.conf6
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,
)
}