mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
app/vmauth: fixes ip_filters typo at example_config
url_map section cannot have ip_filters. Only top level config section have it.
This commit is contained in:
parent
e1d9c32f04
commit
92d884eeb7
1 changed files with 17 additions and 17 deletions
|
@ -22,7 +22,9 @@ users:
|
||||||
# - or http://default2:8888/unsupported_url_handler?request_path=/non/existing/path
|
# - or http://default2:8888/unsupported_url_handler?request_path=/non/existing/path
|
||||||
#
|
#
|
||||||
# Regular expressions are allowed in `src_paths` entries.
|
# Regular expressions are allowed in `src_paths` entries.
|
||||||
- username: "foobar"
|
- username: "foobar"
|
||||||
|
ip_filters:
|
||||||
|
deny_list: [127.0.0.1]
|
||||||
url_map:
|
url_map:
|
||||||
- src_paths:
|
- src_paths:
|
||||||
- "/api/v1/query"
|
- "/api/v1/query"
|
||||||
|
@ -35,8 +37,6 @@ users:
|
||||||
url_prefix: "http://vminsert:8480/insert/42/prometheus"
|
url_prefix: "http://vminsert:8480/insert/42/prometheus"
|
||||||
headers:
|
headers:
|
||||||
- "X-Scope-OrgID: abc"
|
- "X-Scope-OrgID: abc"
|
||||||
ip_filters:
|
|
||||||
deny_list: [127.0.0.1]
|
|
||||||
default_url:
|
default_url:
|
||||||
- "http://default1:8888/unsupported_url_handler"
|
- "http://default1:8888/unsupported_url_handler"
|
||||||
- "http://default2:8888/unsupported_url_handler"
|
- "http://default2:8888/unsupported_url_handler"
|
||||||
|
|
Loading…
Reference in a new issue