clarification to REVERSE_PROXY docs.
This commit is contained in:
@@ -20,7 +20,7 @@ However if you're using `path` based routing to differentiate your reverse proxy
|
|||||||
If you'd like to access Scrutiny using a path like: `http://example.com/scrutiny/`, then we need a way to configure Scrutiny so that it
|
If you'd like to access Scrutiny using a path like: `http://example.com/scrutiny/`, then we need a way to configure Scrutiny so that it
|
||||||
understands `http://example.com/scrutiny/api/health` actually means `http://localhost:8080/api/health`.
|
understands `http://example.com/scrutiny/api/health` actually means `http://localhost:8080/api/health`.
|
||||||
|
|
||||||
Thankfully this can be done by changing **two** settings.
|
Thankfully this can be done by changing **two** settings (both are required).
|
||||||
|
|
||||||
1. The webserver has a `web.listen.basepath` key
|
1. The webserver has a `web.listen.basepath` key
|
||||||
2. The collectors have a `api.endpoint` key.
|
2. The collectors have a `api.endpoint` key.
|
||||||
@@ -52,7 +52,7 @@ api:
|
|||||||
|
|
||||||
# Environmental Variables.
|
# Environmental Variables.
|
||||||
|
|
||||||
You may also configure these values using the following environmental variables
|
You may also configure these values using the following environmental variables (both are required).
|
||||||
|
|
||||||
- `COLLECTOR_API_ENDPOINT=http://localhost:8080/custombasepath`
|
- `COLLECTOR_API_ENDPOINT=http://localhost:8080/custombasepath`
|
||||||
- `SCRUTINY_WEB_LISTEN_BASEPATH=/custombasepath`
|
- `SCRUTINY_WEB_LISTEN_BASEPATH=/custombasepath`
|
||||||
Reference in New Issue
Block a user