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

501 lines
10 KiB
YAML
Raw Normal View History

global:
2019-07-01 09:30:05 +00:00
checkNewVersion: true
sendAnonymousUsage: true
serversTransport:
insecureSkipVerify: true
rootCAs:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
maxIdleConnsPerHost: 42
forwardingTimeouts:
dialTimeout: 42s
responseHeaderTimeout: 42s
idleConnTimeout: 42s
2019-07-01 09:30:05 +00:00
entryPoints:
EntryPoint0:
address: foobar
transport:
keepAliveMaxRequests: 42
keepAliveMaxTime: 42s
2019-07-01 09:30:05 +00:00
lifeCycle:
requestAcceptGraceTimeout: 42s
graceTimeOut: 42s
2019-07-01 09:30:05 +00:00
respondingTimeouts:
readTimeout: 42s
writeTimeout: 42s
idleTimeout: 42s
2019-07-01 09:30:05 +00:00
proxyProtocol:
insecure: true
2019-07-01 09:30:05 +00:00
trustedIPs:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
forwardedHeaders:
insecure: true
2019-07-01 09:30:05 +00:00
trustedIPs:
2022-09-12 15:40:09 +00:00
- foobar
- foobar
http:
encodeQuerySemicolons: true
redirections:
entryPoint:
to: foobar
scheme: foobar
permanent: true
priority: 42
middlewares:
- foobar
- foobar
tls:
options: foobar
certResolver: foobar
domains:
- main: foobar
sans:
- foobar
- foobar
- main: foobar
sans:
- foobar
- foobar
http2:
maxConcurrentStreams: 42
http3:
advertisedPort: 42
udp:
timeout: 42s
providers:
providersThrottleDuration: 42s
docker:
constraints: foobar
watch: true
endpoint: foobar
2019-07-01 09:30:05 +00:00
defaultRule: foobar
tls:
ca: foobar
2019-07-01 09:30:05 +00:00
caOptional: true
cert: foobar
key: foobar
2019-07-01 09:30:05 +00:00
insecureSkipVerify: true
exposedByDefault: true
useBindPortIP: true
swarmMode: true
network: foobar
swarmModeRefreshSeconds: 42s
httpClientTimeout: 42s
allowEmptyServices: true
file:
directory: foobar
watch: true
filename: foobar
2019-07-01 09:30:05 +00:00
debugLogGeneratedTemplate: true
marathon:
constraints: foobar
trace: true
watch: true
endpoint: foobar
2019-07-01 09:30:05 +00:00
defaultRule: foobar
exposedByDefault: true
dcosToken: foobar
tls:
ca: foobar
2019-07-01 09:30:05 +00:00
caOptional: true
cert: foobar
key: foobar
2019-07-01 09:30:05 +00:00
insecureSkipVerify: true
dialerTimeout: 42s
responseHeaderTimeout: 42s
tlsHandshakeTimeout: 42s
keepAlive: 42s
2019-07-01 09:30:05 +00:00
forceTaskHostname: true
basic:
2019-07-01 09:30:05 +00:00
httpBasicAuthUser: foobar
httpBasicPassword: foobar
respectReadinessChecks: true
kubernetesIngress:
endpoint: foobar
token: foobar
2019-07-01 09:30:05 +00:00
certAuthFilePath: foobar
namespaces:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
labelSelector: foobar
ingressClass: foobar
2020-01-21 17:35:31 +00:00
throttleDuration: 42s
allowEmptyServices: true
allowExternalNameServices: true
2019-07-01 09:30:05 +00:00
ingressEndpoint:
ip: foobar
hostname: foobar
2019-07-01 09:30:05 +00:00
publishedService: foobar
kubernetesCRD:
endpoint: foobar
token: foobar
2019-07-01 09:30:05 +00:00
certAuthFilePath: foobar
namespaces:
- foobar
- foobar
allowCrossNamespace: true
allowExternalNameServices: true
2019-07-01 09:30:05 +00:00
labelSelector: foobar
ingressClass: foobar
2020-07-15 07:10:03 +00:00
throttleDuration: 42s
2022-03-07 10:08:07 +00:00
allowEmptyServices: true
kubernetesGateway:
endpoint: foobar
token: foobar
certAuthFilePath: foobar
namespaces:
- foobar
- foobar
labelSelector: foobar
throttleDuration: 42s
2019-09-06 13:08:04 +00:00
rest:
insecure: true
rancher:
constraints: foobar
watch: true
2019-07-01 09:30:05 +00:00
defaultRule: foobar
exposedByDefault: true
enableServiceHealthFilter: true
refreshSeconds: 42
intervalPoll: true
prefix: foobar
2019-10-29 11:32:05 +00:00
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
namespace: foobar
namespaces:
- foobar
- foobar
2019-10-15 15:34:08 +00:00
endpoint:
address: foobar
scheme: foobar
datacenter: foobar
token: foobar
endpointWaitTime: 42s
2019-10-15 15:34:08 +00:00
tls:
ca: foobar
caOptional: true
cert: foobar
key: foobar
insecureSkipVerify: true
httpAuth:
username: foobar
password: foobar
nomad:
2022-09-12 15:40:09 +00:00
defaultRule: foobar
constraints: foobar
prefix: foobar
stale: true
namespace: foobar
namespaces:
- foobar
- foobar
2022-09-12 15:40:09 +00:00
exposedByDefault: true
refreshInterval: 42s
endpoint:
address: foobar
region: foobar
token: foobar
endpointWaitTime: 42s
tls:
ca: foobar
caOptional: true
cert: foobar
key: foobar
insecureSkipVerify: true
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
consul:
2020-07-15 07:10:03 +00:00
rootKey: foobar
endpoints:
- foobar
- foobar
token: foobar
namespace: foobar
namespaces:
- foobar
- foobar
tls:
ca: foobar
caOptional: true
cert: foobar
key: foobar
insecureSkipVerify: true
etcd:
2020-07-15 07:10:03 +00:00
rootKey: foobar
endpoints:
- foobar
- foobar
username: foobar
password: foobar
tls:
ca: foobar
caOptional: true
cert: foobar
key: foobar
insecureSkipVerify: true
zooKeeper:
2020-07-15 07:10:03 +00:00
rootKey: foobar
endpoints:
- foobar
- foobar
username: foobar
password: foobar
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
tls:
ca: foobar
caOptional: true
cert: foobar
key: foobar
insecureSkipVerify: true
sentinel:
masterName: foobar
username: foobar
password: foobar
latencyStrategy: true
randomStrategy: true
replicaStrategy: true
useDisconnectedReplicas: true
http:
endpoint: foobar
pollInterval: 42s
pollTimeout: 42s
tls:
ca: foobar
caOptional: true
cert: foobar
key: foobar
insecureSkipVerify: true
plugin:
Descriptor0: {}
Descriptor1: {}
api:
2019-09-06 13:08:04 +00:00
insecure: true
dashboard: true
debug: true
disabledashboardad: false
metrics:
prometheus:
buckets:
- 42
- 42
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
headerLabels:
label1: foobar
label2: foobar
2019-09-02 10:18:04 +00:00
datadog:
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
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
2019-07-01 09:30:05 +00:00
influxDB:
address: foobar
protocol: foobar
pushInterval: 42s
database: foobar
2019-07-01 09:30:05 +00:00
retentionPolicy: foobar
username: foobar
password: foobar
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
additionalLabels:
2022-09-12 15:40:09 +00:00
name0: foobar
name1: foobar
2022-02-09 14:32:12 +00:00
influxDB2:
address: foobar
token: foobar
pushInterval: 42s
org: foobar
bucket: foobar
addEntryPointsLabels: true
addRoutersLabels: true
addServicesLabels: true
additionalLabels:
2022-09-12 15:40:09 +00:00
name0: foobar
name1: foobar
2019-09-06 13:08:04 +00:00
ping:
entryPoint: foobar
manualRouting: true
terminatingStatusCode: 42
log:
level: foobar
2019-07-01 09:30:05 +00:00
filePath: foobar
format: foobar
2019-07-01 09:30:05 +00:00
accessLog:
filePath: foobar
format: foobar
filters:
2019-07-01 09:30:05 +00:00
statusCodes:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
retryAttempts: true
minDuration: 42s
fields:
2019-07-01 09:30:05 +00:00
defaultMode: foobar
names:
name0: foobar
name1: foobar
headers:
2019-07-01 09:30:05 +00:00
defaultMode: foobar
names:
name0: foobar
name1: foobar
2019-07-01 09:30:05 +00:00
bufferingSize: 42
tracing:
2019-07-01 09:30:05 +00:00
serviceName: foobar
spanNameLimit: 42
jaeger:
2019-07-01 09:30:05 +00:00
samplingServerURL: foobar
samplingType: foobar
samplingParam: 42
localAgentHostPort: foobar
gen128Bit: true
propagation: foobar
2019-07-01 09:30:05 +00:00
traceContextHeaderName: foobar
disableAttemptReconnecting: true
2019-07-15 12:52:04 +00:00
collector:
endpoint: foobar
user: foobar
password: foobar
zipkin:
2019-07-01 09:30:05 +00:00
httpEndpoint: foobar
sameSpan: true
id128Bit: true
sampleRate: 42
2019-09-02 10:18:04 +00:00
datadog:
2019-07-01 09:30:05 +00:00
localAgentHostPort: foobar
localAgentSocket: foobar
2019-07-01 09:30:05 +00:00
globalTag: foobar
2022-09-12 13:14:08 +00:00
globalTags:
tag1: foobar
tag2: foobar
debug: true
2019-07-01 09:30:05 +00:00
prioritySampling: true
traceIDHeaderName: foobar
parentIDHeaderName: foobar
samplingPriorityHeaderName: foobar
bagagePrefixHeaderName: foobar
instana:
2019-07-01 09:30:05 +00:00
localAgentHost: foobar
localAgentPort: 42
logLevel: foobar
enableAutoProfile: true
2019-07-01 09:30:05 +00:00
haystack:
localAgentHost: foobar
localAgentPort: 42
globalTag: foobar
traceIDHeaderName: foobar
parentIDHeaderName: foobar
spanIDHeaderName: foobar
baggagePrefixHeaderName: foobar
2019-11-27 15:00:07 +00:00
elastic:
serverURL: foobar
secretToken: foobar
serviceEnvironment: foobar
2019-07-01 09:30:05 +00:00
hostResolver:
cnameFlattening: true
resolvConfig: foobar
resolvDepth: 42
2019-07-22 07:58:04 +00:00
certificatesResolvers:
CertificateResolver0:
acme:
email: foobar
caServer: foobar
certificatesDuration: 42
2020-09-04 08:52:03 +00:00
preferredChain: foobar
2019-07-22 07:58:04 +00:00
storage: foobar
keyType: foobar
eab:
kid: foobar
hmacEncoded: foobar
2019-07-22 07:58:04 +00:00
dnsChallenge:
provider: foobar
delayBeforeCheck: 42s
2019-07-22 07:58:04 +00:00
resolvers:
- foobar
- foobar
2019-07-22 07:58:04 +00:00
disablePropagationCheck: true
httpChallenge:
entryPoint: foobar
tlsChallenge: {}
CertificateResolver1:
acme:
email: foobar
caServer: foobar
certificatesDuration: 42
2020-09-04 08:52:03 +00:00
preferredChain: foobar
2019-07-22 07:58:04 +00:00
storage: foobar
keyType: foobar
eab:
kid: foobar
hmacEncoded: foobar
2019-07-22 07:58:04 +00:00
dnsChallenge:
provider: foobar
delayBeforeCheck: 42s
2019-07-22 07:58:04 +00:00
resolvers:
- foobar
- foobar
2019-07-22 07:58:04 +00:00
disablePropagationCheck: true
httpChallenge:
entryPoint: foobar
tlsChallenge: {}
experimental:
kubernetesGateway: true
2021-06-21 09:54:08 +00:00
http3: true
plugins:
Descriptor0:
moduleName: foobar
version: foobar
Descriptor1:
moduleName: foobar
version: foobar
localPlugins:
Descriptor0:
moduleName: foobar
Descriptor1:
moduleName: foobar