diff options
| author | saturneric <[email protected]> | 2025-11-07 23:37:52 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-11-07 23:37:52 +0000 |
| commit | 1f6d0c0cbb6ffd67f6dac08e7f33f7a56f60a7af (patch) | |
| tree | a390741466129a36cd0e2814de95537811ef1169 | |
| parent | feat(logging): enable access logging to stderr (diff) | |
| download | cgit-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.conf | 2 |
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 |
