mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00: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.go | ||
org_secret.go | ||
orgs.go | ||
pipeline.go | ||
registry.go | ||
repo.go | ||
repo_secret.go | ||
signature_public_key.go | ||
stream.go | ||
user.go | ||
users.go | ||
z.go |