Skip to content

Commit ef3453f

Browse files
StellarisWploxiln
authored andcommitted
contrib: update nsqadmin.cfg.example
1 parent 68cffac commit ef3453f

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

contrib/nsqadmin.cfg.example

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,41 @@
11
## log verbosity level: debug, info, warn, error, or fatal
22
log_level = "info"
33

4+
## log message prefix (default "[nsqadmin] ")
5+
# log_prefix = ""
6+
7+
## HTTP header to check for authenticated admin users (default "X_Forwarded_User")
8+
# acl_http_header = ""
9+
10+
## admin user (may be given multiple times; if specified, only these users will be able to perform privileged actions)
11+
# admin_users = [
12+
# "admin"
13+
# ]
14+
15+
## A CIDR from which to allow HTTP requests to the /config endpoint (default "127.0.0.1/8")
16+
# allow_config_from_cidr = ""
17+
18+
## URL base path (default "/")
19+
# base_path = ""
20+
21+
## timeout for HTTP connect (default 2s)
22+
# http_client_connect_timeout = "2s"
23+
24+
## timeout for HTTP request (default 5s)
25+
# http_client_request_timeout = "5s"
26+
27+
## path to certificate file for the HTTP client
28+
# http_client_tls_cert = ""
29+
30+
## configure the HTTP client to skip verification of TLS certificates
31+
# http_client_tls_insecure_skip_verify = false
32+
33+
## path to key file for the HTTP client
34+
# http_client_tls_key = ""
35+
36+
## path to CA file for the HTTP client
37+
# http_client_tls_root_ca_file = ""
38+
439
## <addr>:<port> to listen on for HTTP clients
540
http_address = "0.0.0.0:4171"
641

0 commit comments

Comments
 (0)