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
commit20eba23dea5b1145eb279592208c2d0aee23bbeb (patch)
tree5e5cdcbef137118fde42721d30e1d7637e16aff1 /services/docker/git-server/app/lighttpd
parent0606d2e2cca994b069fd51b15eae4422bb66ebb9 (diff)
downloadcrupest-20eba23dea5b1145eb279592208c2d0aee23bbeb.tar.gz
crupest-20eba23dea5b1145eb279592208c2d0aee23bbeb.tar.bz2
crupest-20eba23dea5b1145eb279592208c2d0aee23bbeb.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,
)
}