mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
Fix UI and backend paths with subpath (#1799)
I'm not sure if this is an ideal fix for this, but it seems to work for me. If you have another idea just let me know. Closes #1798 Closes #1773
This commit is contained in:
@@ -193,4 +193,4 @@ A [Prometheus endpoint](./90-prometheus.md) is exposed.
|
||||
|
||||
See the [proxy guide](./70-proxy.md) if you want to see a setup behind Apache, Nginx, Caddy or ngrok.
|
||||
|
||||
In the case you need to use Woodpecker with a URL path prefix (like: https://example.org/woodpecker/), you can use the option [`WOODPECKER_ROOT_URL`](./10-server-config.md#woodpecker_root_url).
|
||||
In the case you need to use Woodpecker with a URL path prefix (like: https://example.org/woodpecker/), you can use the option [`WOODPECKER_ROOT_PATH`](./10-server-config.md#woodpecker_root_path).
|
||||
|
||||
@@ -528,12 +528,12 @@ Specify a configuration service endpoint, see [Configuration Extension](./100-ex
|
||||
|
||||
Specify how many seconds before timeout when fetching the Woodpecker configuration from a Forge
|
||||
|
||||
### `WOODPECKER_ROOT_URL`
|
||||
### `WOODPECKER_ROOT_PATH`
|
||||
> Default: ``
|
||||
|
||||
Server URL path prefix (used for statics loading when having a url path prefix), should start with `/`
|
||||
|
||||
Example: `WOODPECKER_ROOT_URL=/woodpecker`
|
||||
Example: `WOODPECKER_ROOT_PATH=/woodpecker`
|
||||
|
||||
### `WOODPECKER_ENABLE_SWAGGER`
|
||||
> Default: true
|
||||
|
||||
Reference in New Issue
Block a user