mirror of
https://github.com/status-im/consul.git
synced 2025-01-23 20:19:29 +00:00
config: document http options
This commit is contained in:
parent
7fede4472d
commit
5f59857448
@ -80,7 +80,15 @@ type RuntimeConfig struct {
|
|||||||
DNSUDPAnswerLimit int
|
DNSUDPAnswerLimit int
|
||||||
DNSRecursors []string
|
DNSRecursors []string
|
||||||
|
|
||||||
|
// HTTPBlockEndpoints is a list of endpoint prefixes to block in the
|
||||||
|
// HTTP API. Any requests to these will get a 403 response.
|
||||||
|
//
|
||||||
|
// hcl: http_config { block_endpoints = []string }
|
||||||
HTTPBlockEndpoints []string
|
HTTPBlockEndpoints []string
|
||||||
|
|
||||||
|
// HTTPResponseHeaders are used to add HTTP header response fields to the HTTP API responses.
|
||||||
|
//
|
||||||
|
// hcl: http_config { response_headers = map[string]string }
|
||||||
HTTPResponseHeaders map[string]string
|
HTTPResponseHeaders map[string]string
|
||||||
|
|
||||||
// TelemetryCirconus*: see https://github.com/circonus-labs/circonus-gometrics
|
// TelemetryCirconus*: see https://github.com/circonus-labs/circonus-gometrics
|
||||||
|
Loading…
x
Reference in New Issue
Block a user