using tls for telegraf

This commit is contained in:
John Lancaster
2025-06-19 12:33:36 -05:00
parent 38d69731fe
commit 4145c55522

View File

@@ -80,7 +80,9 @@
## Multiple URLs can be specified for a single cluster, only ONE of the
## urls will be written to each interval.
## 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 = "$INFLUX_WRITE_TOKEN"
@@ -103,7 +105,6 @@
## Additional HTTP headers
# http_headers = {"X-Special-Header" = "Special-Value"}
## HTTP Proxy override, if unset values the standard proxy environment
## variables are consulted to determine which proxy, if any, should be used.
# http_proxy = "http://corporate.proxy:3128"