mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
docs/vmauth.md: mention that request query args can used for routing decisions
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5878
This commit is contained in:
parent
87d59cdfa5
commit
0929f255f0
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ unauthorized_user:
|
||||||
|
|
||||||
### Generic HTTP proxy for different backends
|
### Generic HTTP proxy for different backends
|
||||||
|
|
||||||
`vmauth` can proxy requests to different backends depending on the requested host and/or path.
|
`vmauth` can proxy requests to different backends depending on the requested host, path and [query args](https://en.wikipedia.org/wiki/Query_string).
|
||||||
For example, the following [`-auth.config`](#auth-config) instructs `vmauth` to make the following:
|
For example, the following [`-auth.config`](#auth-config) instructs `vmauth` to make the following:
|
||||||
|
|
||||||
- Requests starting with `/app1/` are proxied to `http://app1-backend/`, while the `/app1/` path prefix is dropped according to [`drop_src_path_prefix_parts`](#dropping-request-path-prefix).
|
- Requests starting with `/app1/` are proxied to `http://app1-backend/`, while the `/app1/` path prefix is dropped according to [`drop_src_path_prefix_parts`](#dropping-request-path-prefix).
|
||||||
|
|
Loading…
Reference in a new issue