traefik/docs/content/reference/static-configuration/file.toml

465 lines
12 KiB
TOML
Raw Normal View History

2019-07-01 09:30:05 +00:00
[global]
checkNewVersion = true
sendAnonymousUsage = true
[serversTransport]
insecureSkipVerify = true
rootCAs = ["foobar", "foobar"]
maxIdleConnsPerHost = 42
2019-07-01 09:30:05 +00:00
[serversTransport.forwardingTimeouts]
dialTimeout = "42s"
responseHeaderTimeout = "42s"
idleConnTimeout = "42s"
readIdleTimeout = "42s"
pingTimeout = "42s"
[serversTransport.spiffe]
ids = ["foobar", "foobar"]
trustDomain = "foobar"
[tcpServersTransport]
dialTimeout = "42s"
dialKeepAlive = "42s"
[tcpServersTransport.tls]
insecureSkipVerify = true
rootCAs = ["foobar", "foobar"]
[tcpServersTransport.tls.spiffe]
ids = ["foobar", "foobar"]
trustDomain = "foobar"
2019-07-01 09:30:05 +00:00
[entryPoints]
[entryPoints.EntryPoint0]
address = "foobar"
asDefault = true
2019-07-01 09:30:05 +00:00
[entryPoints.EntryPoint0.transport]
[entryPoints.EntryPoint0.transport.lifeCycle]
requestAcceptGraceTimeout = "42s"
graceTimeOut = "42s"
2019-07-01 09:30:05 +00:00
[entryPoints.EntryPoint0.transport.respondingTimeouts]
readTimeout = "42s"
writeTimeout = "42s"
idleTimeout = "42s"
2019-07-01 09:30:05 +00:00
[entryPoints.EntryPoint0.proxyProtocol]
insecure = true
trustedIPs = ["foobar", "foobar"]
[entryPoints.EntryPoint0.forwardedHeaders]
insecure = true
trustedIPs = ["foobar", "foobar"]
[entryPoints.EntryPoint0.http]
middlewares = ["foobar", "foobar"]
encodeQuerySemicolons = true
[entryPoints.EntryPoint0.http.redirections]
[entryPoints.EntryPoint0.http.redirections.entryPoint]
to = "foobar"
scheme = "foobar"
permanent = true
priority = 42
[entryPoints.EntryPoint0.http.tls]
options = "foobar"
certResolver = "foobar"
[[entryPoints.EntryPoint0.http.tls.domains]]
main = "foobar"
sans = ["foobar", "foobar"]
[[entryPoints.EntryPoint0.http.tls.domains]]
main = "foobar"
sans = ["foobar", "foobar"]
[entryPoints.EntryPoint0.http2]
maxConcurrentStreams = 42
[entryPoints.EntryPoint0.http3]
advertisedPort = 42
[entryPoints.EntryPoint0.udp]
timeout = "42s"
2019-07-01 09:30:05 +00:00
[providers]
providersThrottleDuration = "42s"
2019-07-01 09:30:05 +00:00
[providers.docker]
constraints = "foobar"
watch = true
endpoint = "foobar"
defaultRule = "foobar"
exposedByDefault = true
useBindPortIP = true
network = "foobar"
httpClientTimeout = "42s"
allowEmptyServices = true
2019-07-01 09:30:05 +00:00
[providers.docker.tls]
ca = "foobar"
cert = "foobar"
key = "foobar"
insecureSkipVerify = true
2023-05-10 13:28:05 +00:00
[providers.swarm]
constraints = "foobar"
watch = true
endpoint = "foobar"
defaultRule = "foobar"
exposedByDefault = true
useBindPortIP = true
network = "foobar"
refreshSeconds = "42s"
httpClientTimeout = "42s"
allowEmptyServices = true
[providers.swarm.tls]
ca = "foobar"
cert = "foobar"
key = "foobar"
insecureSkipVerify = true
2019-07-01 09:30:05 +00:00
[providers.file]
directory = "foobar"
watch = true
filename = "foobar"
debugLogGeneratedTemplate = true
[providers.kubernetesIngress]
2019-07-01 09:30:05 +00:00
endpoint = "foobar"
token = "foobar"
certAuthFilePath = "foobar"
namespaces = ["foobar", "foobar"]
labelSelector = "foobar"
ingressClass = "foobar"
throttleDuration = "42s"
allowEmptyServices = true
allowExternalNameServices = true
disableIngressClassLookup = true
[providers.kubernetesIngress.ingressEndpoint]
2019-07-01 09:30:05 +00:00
ip = "foobar"
hostname = "foobar"
publishedService = "foobar"
[providers.kubernetesCRD]
endpoint = "foobar"
token = "foobar"
certAuthFilePath = "foobar"
namespaces = ["foobar", "foobar"]
allowCrossNamespace = true
allowExternalNameServices = true
2019-07-01 09:30:05 +00:00
labelSelector = "foobar"
ingressClass = "foobar"
throttleDuration = "42s"
2022-09-12 15:40:09 +00:00
allowEmptyServices = true
[providers.kubernetesGateway]
endpoint = "foobar"
token = "foobar"
certAuthFilePath = "foobar"
namespaces = ["foobar", "foobar"]
labelSelector = "foobar"
throttleDuration = "42s"
2019-07-01 09:30:05 +00:00
[providers.rest]
2019-09-06 13:08:04 +00:00
insecure = true
2019-10-29 11:32:05 +00:00
[providers.consulCatalog]
2019-10-15 15:34:08 +00:00
constraints = "foobar"
prefix = "foobar"
refreshInterval = "42s"
2019-10-31 10:56:05 +00:00
requireConsistent = true
stale = true
cache = true
exposedByDefault = true
defaultRule = "foobar"
connectAware = true
connectByDefault = true
serviceName = "foobar"
2022-09-12 15:40:09 +00:00
watch = true
namespaces = ["foobar", "foobar"]
2019-10-29 11:32:05 +00:00
[providers.consulCatalog.endpoint]
address = "foobar"
scheme = "foobar"
datacenter = "foobar"
token = "foobar"
endpointWaitTime = "42s"
[providers.consulCatalog.endpoint.tls]
ca = "foobar"
cert = "foobar"
key = "foobar"
insecureSkipVerify = true
[providers.consulCatalog.endpoint.httpAuth]
username = "foobar"
password = "foobar"
[providers.nomad]
2022-09-12 15:40:09 +00:00
defaultRule = "foobar"
constraints = "foobar"
prefix = "foobar"
stale = true
namespaces = ["foobar", "foobar"]
2022-09-12 15:40:09 +00:00
exposedByDefault = true
refreshInterval = "42s"
[providers.nomad.endpoint]
address = "foobar"
region = "foobar"
token = "foobar"
endpointWaitTime = "42s"
[providers.nomad.endpoint.tls]
ca = "foobar"
cert = "foobar"
key = "foobar"
insecureSkipVerify = true
[providers.ecs]
constraints = "foobar"
exposedByDefault = true
refreshSeconds = 42
defaultRule = "foobar"
clusters = ["foobar", "foobar"]
autoDiscoverClusters = true
region = "foobar"
accessKeyID = "foobar"
secretAccessKey = "foobar"
2022-09-14 14:22:08 +00:00
ecsAnywhere = true
healthyTasksOnly = true
[providers.consul]
2020-07-15 07:10:03 +00:00
rootKey = "foobar"
endpoints = ["foobar", "foobar"]
token = "foobar"
namespaces = ["foobar", "foobar"]
[providers.consul.tls]
ca = "foobar"
cert = "foobar"
key = "foobar"
insecureSkipVerify = true
[providers.etcd]
2020-07-15 07:10:03 +00:00
rootKey = "foobar"
endpoints = ["foobar", "foobar"]
username = "foobar"
password = "foobar"
[providers.etcd.tls]
ca = "foobar"
cert = "foobar"
key = "foobar"
insecureSkipVerify = true
[providers.zooKeeper]
2020-07-15 07:10:03 +00:00
rootKey = "foobar"
endpoints = ["foobar", "foobar"]
username = "foobar"
password = "foobar"
[providers.redis]
2020-07-15 07:10:03 +00:00
rootKey = "foobar"
endpoints = ["foobar", "foobar"]
username = "foobar"
password = "foobar"
2022-09-12 15:40:09 +00:00
db = 42
[providers.redis.tls]
ca = "foobar"
cert = "foobar"
key = "foobar"
insecureSkipVerify = true
[providers.http]
endpoint = "foobar"
pollInterval = "42s"
pollTimeout = "42s"
[providers.http.headers]
name0 = "foobar"
name1 = "foobar"
[providers.http.tls]
ca = "foobar"
cert = "foobar"
key = "foobar"
insecureSkipVerify = true
[providers.plugin]
[providers.plugin.Descriptor0]
[providers.plugin.Descriptor1]
2019-07-01 09:30:05 +00:00
[api]
2019-09-06 13:08:04 +00:00
insecure = true
2019-07-01 09:30:05 +00:00
dashboard = true
debug = true
disabledashboardad = false
2019-07-01 09:30:05 +00:00
[metrics]
[metrics.prometheus]
buckets = [42.0, 42.0]
2019-07-18 19:36:05 +00:00
addEntryPointsLabels = true
2021-04-30 08:22:04 +00:00
addRoutersLabels = true
2019-07-18 19:36:05 +00:00
addServicesLabels = true
2019-09-06 13:08:04 +00:00
entryPoint = "foobar"
manualRouting = true
[metrics.prometheus.headerLabels]
label1 = "foobar"
label2 = "foobar"
2019-09-02 10:18:04 +00:00
[metrics.datadog]
2019-07-01 09:30:05 +00:00
address = "foobar"
pushInterval = "42s"
2019-07-18 19:36:05 +00:00
addEntryPointsLabels = true
2021-04-30 08:22:04 +00:00
addRoutersLabels = true
2019-07-18 19:36:05 +00:00
addServicesLabels = true
2021-10-06 15:34:07 +00:00
prefix = "foobar"
2019-07-01 09:30:05 +00:00
[metrics.statsD]
address = "foobar"
pushInterval = "42s"
2019-07-18 19:36:05 +00:00
addEntryPointsLabels = true
2021-04-30 08:22:04 +00:00
addRoutersLabels = true
2019-07-18 19:36:05 +00:00
addServicesLabels = true
prefix = "foobar"
2022-02-09 14:32:12 +00:00
[metrics.influxDB2]
address = "foobar"
token = "foobar"
pushInterval = "42s"
org = "foobar"
bucket = "foobar"
addEntryPointsLabels = true
addRoutersLabels = true
addServicesLabels = true
[metrics.influxDB2.additionalLabels]
2022-09-12 15:40:09 +00:00
name0 = "foobar"
name1 = "foobar"
[metrics.openTelemetry]
address = "foobar"
addEntryPointsLabels = true
addRoutersLabels = true
addServicesLabels = true
pushInterval = "42s"
path = "foobar"
explicitBoundaries = [42.0, 42.0]
insecure = true
[metrics.openTelemetry.headers]
name0 = "foobar"
name1 = "foobar"
[metrics.openTelemetry.tls]
ca = "foobar"
caOptional = true
cert = "foobar"
insecureSkipVerify = true
key = "foobar"
[metrics.openTelemetry.grpc]
2019-07-01 09:30:05 +00:00
[ping]
2019-09-06 13:08:04 +00:00
entryPoint = "foobar"
manualRouting = true
terminatingStatusCode = 42
2019-07-01 09:30:05 +00:00
[log]
level = "foobar"
format = "foobar"
2022-11-21 17:36:05 +00:00
noColor = true
filePath = "foobar"
maxSize = 42
maxBackups = 42
maxAge = 42
compress = true
2019-07-01 09:30:05 +00:00
[accessLog]
filePath = "foobar"
format = "foobar"
bufferingSize = 42
[accessLog.filters]
statusCodes = ["foobar", "foobar"]
retryAttempts = true
minDuration = "42s"
2019-07-01 09:30:05 +00:00
[accessLog.fields]
defaultMode = "foobar"
[accessLog.fields.names]
name0 = "foobar"
name1 = "foobar"
2019-07-01 09:30:05 +00:00
[accessLog.fields.headers]
defaultMode = "foobar"
[accessLog.fields.headers.names]
name0 = "foobar"
name1 = "foobar"
2019-07-01 09:30:05 +00:00
[tracing]
serviceName = "foobar"
spanNameLimit = 42
[tracing.jaeger]
samplingServerURL = "foobar"
samplingType = "foobar"
samplingParam = 42.0
localAgentHostPort = "foobar"
gen128Bit = true
propagation = "foobar"
traceContextHeaderName = "foobar"
disableAttemptReconnecting = true
2019-07-15 12:52:04 +00:00
[tracing.jaeger.collector]
endpoint = "foobar"
user = "foobar"
password = "foobar"
2019-07-01 09:30:05 +00:00
[tracing.zipkin]
httpEndpoint = "foobar"
sameSpan = true
id128Bit = true
sampleRate = 42.0
2019-09-02 10:18:04 +00:00
[tracing.datadog]
2019-07-01 09:30:05 +00:00
localAgentHostPort = "foobar"
localAgentSocket = "foobar"
2022-09-12 13:14:08 +00:00
[tracing.datadog.globalTags]
tag1 = "foobar"
tag2 = "foobar"
2019-07-01 09:30:05 +00:00
debug = true
prioritySampling = true
traceIDHeaderName = "foobar"
parentIDHeaderName = "foobar"
samplingPriorityHeaderName = "foobar"
bagagePrefixHeaderName = "foobar"
[tracing.instana]
localAgentHost = "foobar"
localAgentPort = 42
logLevel = "foobar"
enableAutoProfile = true
2019-07-01 09:30:05 +00:00
[tracing.haystack]
localAgentHost = "foobar"
localAgentPort = 42
globalTag = "foobar"
traceIDHeaderName = "foobar"
parentIDHeaderName = "foobar"
spanIDHeaderName = "foobar"
baggagePrefixHeaderName = "foobar"
2019-11-27 15:00:07 +00:00
[tracing.elastic]
serverURL = "foobar"
secretToken = "foobar"
serviceEnvironment = "foobar"
[tracing.openTelemetry]
address = "foobar"
insecure = true
path = "foobar"
[tracing.openTelemetry.headers]
name0 = "foobar"
name1 = "foobar"
[tracing.openTelemetry.tls]
ca = "foobar"
caOptional = true
cert = "foobar"
key = "foobar"
insecureSkipVerify = true
[tracing.openTelemetry.grpc]
2019-07-01 09:30:05 +00:00
[hostResolver]
cnameFlattening = true
resolvConfig = "foobar"
resolvDepth = 42
2019-07-22 07:58:04 +00:00
[certificatesResolvers]
[certificatesResolvers.CertificateResolver0]
[certificatesResolvers.CertificateResolver0.acme]
email = "foobar"
caServer = "foobar"
2020-09-04 08:52:03 +00:00
preferredChain = "foobar"
2019-07-22 07:58:04 +00:00
storage = "foobar"
keyType = "foobar"
certificatesDuration = 42
[certificatesResolvers.CertificateResolver0.acme.eab]
kid = "foobar"
hmacEncoded = "foobar"
2019-07-22 07:58:04 +00:00
[certificatesResolvers.CertificateResolver0.acme.dnsChallenge]
provider = "foobar"
delayBeforeCheck = "42s"
2019-07-22 07:58:04 +00:00
resolvers = ["foobar", "foobar"]
disablePropagationCheck = true
[certificatesResolvers.CertificateResolver0.acme.httpChallenge]
entryPoint = "foobar"
[certificatesResolvers.CertificateResolver0.acme.tlsChallenge]
[certificatesResolvers.CertificateResolver1.tailscale]
[experimental]
kubernetesGateway = true
2021-06-21 09:54:08 +00:00
http3 = true
[experimental.plugins]
[experimental.plugins.Descriptor0]
moduleName = "foobar"
version = "foobar"
[experimental.plugins.Descriptor1]
moduleName = "foobar"
version = "foobar"
[experimental.localPlugins]
[experimental.localPlugins.Descriptor0]
moduleName = "foobar"
[experimental.localPlugins.Descriptor1]
moduleName = "foobar"