mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 08:23:48 +02:00
baaf8b97e1
I had experienced some issues running Woodpecker behind a reverse-proxy, resulting from not defining the `WOODPECKER_ROOT_PATH` environment variable in #2477. As suggested by @qwerty287, specifying `WOODPECKER_ROOT_PATH=/foo` *mostly* solved the issue of running the woodpecker server at an url like `https://example.org/foo`. However, the webhook urls and badge urls were generated excluding the configured `WOODPECKER_ROOT_PATH`. This PR (mostly) fixes issues related to non-empty `WOODPECKER_ROOT_PATH`. --------- Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com> |
||
---|---|---|
.. | ||
debug | ||
metrics | ||
agent.go | ||
badge.go | ||
cron.go | ||
global_secret.go | ||
helper.go | ||
hook.go | ||
login.go | ||
org_secret.go | ||
org.go | ||
orgs.go | ||
pipeline.go | ||
registry.go | ||
repo_secret.go | ||
repo.go | ||
signature_public_key.go | ||
stream.go | ||
user.go | ||
users.go | ||
z.go |