using tls for telegraf
This commit is contained in:
@@ -80,7 +80,9 @@
|
|||||||
## Multiple URLs can be specified for a single cluster, only ONE of the
|
## Multiple URLs can be specified for a single cluster, only ONE of the
|
||||||
## urls will be written to each interval.
|
## urls will be written to each interval.
|
||||||
## ex: urls = ["https://us-west-2-1.aws.cloud2.influxdata.com"]
|
## ex: urls = ["https://us-west-2-1.aws.cloud2.influxdata.com"]
|
||||||
urls = ["http://${INFLUX_HOST:-influxdb}:8086"]
|
urls = ["https://influxdb.john-stream.com"]
|
||||||
|
tls_enable = true
|
||||||
|
tls_server_name = "influxdb.john-stream.com"
|
||||||
|
|
||||||
## Token for authentication.
|
## Token for authentication.
|
||||||
token = "$INFLUX_WRITE_TOKEN"
|
token = "$INFLUX_WRITE_TOKEN"
|
||||||
@@ -103,7 +105,6 @@
|
|||||||
|
|
||||||
## Additional HTTP headers
|
## Additional HTTP headers
|
||||||
# http_headers = {"X-Special-Header" = "Special-Value"}
|
# http_headers = {"X-Special-Header" = "Special-Value"}
|
||||||
|
|
||||||
## HTTP Proxy override, if unset values the standard proxy environment
|
## HTTP Proxy override, if unset values the standard proxy environment
|
||||||
## variables are consulted to determine which proxy, if any, should be used.
|
## variables are consulted to determine which proxy, if any, should be used.
|
||||||
# http_proxy = "http://corporate.proxy:3128"
|
# http_proxy = "http://corporate.proxy:3128"
|
||||||
|
|||||||
Reference in New Issue
Block a user