mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs/vmauth.md: add Config reload
chapter, which explains how to reload -auth.config at vmauth
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1194
This commit is contained in:
parent
582681ce58
commit
f120477231
@ -457,6 +457,17 @@ unauthorized_user:
|
||||
- "Server:"
|
||||
```
|
||||
|
||||
## Config reload
|
||||
|
||||
`vmauth` supports dynamic reload of [`-auth.config`](#auth-config) via the following ways:
|
||||
|
||||
- By sending `SIGHUP` signal to `vmauth` process:
|
||||
```
|
||||
kill -HUP `pidof vmauth`
|
||||
```
|
||||
- By querying `/-/reload` endpoint. It is recommended protecting it with `-reloadAuthKey`. See [security docs](#security) for details.
|
||||
- By passing the interval for config check to `-configCheckInterval` command-line flag.
|
||||
|
||||
## Concurrency limiting
|
||||
|
||||
`vmauth` limits the number of concurrent requests it can proxy according to the following command-line flags:
|
||||
|
Loading…
Reference in New Issue
Block a user