github.com/nsqio/nsq@v1.3.0/contrib/nsqadmin.cfg.example (about)

     1  ## log verbosity level: debug, info, warn, error, or fatal
     2  log_level = "info"
     3  
     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  
    39  ## <addr>:<port> to listen on for HTTP clients
    40  http_address = "0.0.0.0:4171"
    41  
    42  ## graphite HTTP address
    43  graphite_url = ""
    44  
    45  ## proxy HTTP requests to graphite
    46  proxy_graphite = false
    47  
    48  ## prefix used for keys sent to statsd (%s for host replacement, must match nsqd)
    49  statsd_prefix = "nsq.%s"
    50  
    51  ## format of statsd counter stats
    52  statsd_counter_format = "stats.counters.%s.count"
    53  
    54  ## format of statsd gauge stats
    55  statsd_gauge_format = "stats.gauges.%s"
    56  
    57  ## time interval nsqd is configured to push to statsd (must match nsqd)
    58  statsd_interval = "60s"
    59  
    60  ## HTTP endpoint (fully qualified) to which POST notifications of admin actions will be sent
    61  notification_http_endpoint = ""
    62  
    63  
    64  ## nsqlookupd HTTP addresses
    65  nsqlookupd_http_addresses = [
    66      "127.0.0.1:4161"
    67  ]
    68  
    69  ## nsqd HTTP addresses (optional)
    70  nsqd_http_addresses = [
    71      "127.0.0.1:4151"
    72  ]