mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00: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
a92f7a870d
commit
3f74cadba4
1 changed files with 11 additions and 0 deletions
|
@ -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 a new issue