Skip to content

Commit

Permalink
contrib: update nsqadmin.cfg.example
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarisW authored and ploxiln committed Aug 26, 2022
1 parent 68cffac commit ef3453f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions contrib/nsqadmin.cfg.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
## log verbosity level: debug, info, warn, error, or fatal
log_level = "info"

## log message prefix (default "[nsqadmin] ")
# log_prefix = ""

## HTTP header to check for authenticated admin users (default "X_Forwarded_User")
# acl_http_header = ""

## admin user (may be given multiple times; if specified, only these users will be able to perform privileged actions)
# admin_users = [
# "admin"
# ]

## A CIDR from which to allow HTTP requests to the /config endpoint (default "127.0.0.1/8")
# allow_config_from_cidr = ""

## URL base path (default "/")
# base_path = ""

## timeout for HTTP connect (default 2s)
# http_client_connect_timeout = "2s"

## timeout for HTTP request (default 5s)
# http_client_request_timeout = "5s"

## path to certificate file for the HTTP client
# http_client_tls_cert = ""

## configure the HTTP client to skip verification of TLS certificates
# http_client_tls_insecure_skip_verify = false

## path to key file for the HTTP client
# http_client_tls_key = ""

## path to CA file for the HTTP client
# http_client_tls_root_ca_file = ""

## <addr>:<port> to listen on for HTTP clients
http_address = "0.0.0.0:4171"

Expand Down

0 comments on commit ef3453f

Please sign in to comment.