clarification to REVERSE_PROXY docs.

This commit is contained in:
Jason Kulatunga
2022-05-09 16:41:25 -07:00
parent eb4a738746
commit 0fe6e74eb4
+2 -2
View File
@@ -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
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
2. The collectors have a `api.endpoint` key.
@@ -52,7 +52,7 @@ api:
# 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`
- `SCRUTINY_WEB_LISTEN_BASEPATH=/custombasepath`