aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-11-07 23:37:52 +0000
committersaturneric <[email protected]>2025-11-07 23:37:52 +0000
commit1f6d0c0cbb6ffd67f6dac08e7f33f7a56f60a7af (patch)
treea390741466129a36cd0e2814de95537811ef1169
parentfeat(logging): enable access logging to stderr (diff)
downloadcgit-1f6d0c0cbb6ffd67f6dac08e7f33f7a56f60a7af.tar.gz
cgit-1f6d0c0cbb6ffd67f6dac08e7f33f7a56f60a7af.zip
fix(proxy): update proxy target to `gitea`
* Change proxy server host from `localhost` to `gitea` to reflect the correct backend service for Git-related requests. * Ensures routing aligns with current infrastructure where `gitea` is the intended Git server.
-rw-r--r--lighttpd.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/lighttpd.conf b/lighttpd.conf
index 65ece20..c103439 100644
--- a/lighttpd.conf
+++ b/lighttpd.conf
@@ -15,7 +15,7 @@ $HTTP["url"] =~ "^/(.+?)\.git/(info/refs|git-upload-pack)$" {
$HTTP["request-method"] !~ "^(GET|POST)$" {
url.access-deny = ( "" )
}
- proxy.server = ( "" => ( ( "host" => "localhost", "port" => 3000 ) ) )
+ proxy.server = ( "" => ( ( "host" => "gitea", "port" => 3000 ) ) )
}
# rewrite all requests to cgit.cgi except for static files