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

524 lines
11 KiB
YAML
Raw Normal View History

http:
routers:
Router0:
2019-07-01 09:30:05 +00:00
entryPoints:
- foobar
- foobar
middlewares:
- foobar
- foobar
service: foobar
rule: foobar
priority: 42
tls:
options: foobar
2019-07-22 07:58:04 +00:00
certResolver: foobar
domains:
- main: foobar
sans:
- foobar
- foobar
- main: foobar
sans:
- foobar
- foobar
Router1:
entryPoints:
- foobar
- foobar
middlewares:
- foobar
- foobar
service: foobar
rule: foobar
priority: 42
tls:
options: foobar
2019-07-22 07:58:04 +00:00
certResolver: foobar
domains:
- main: foobar
sans:
- foobar
- foobar
- main: foobar
sans:
- foobar
- foobar
services:
Service01:
loadBalancer:
sticky:
cookie:
name: foobar
secure: true
httpOnly: true
2020-03-23 10:24:05 +00:00
sameSite: foobar
servers:
- url: foobar
- url: foobar
healthCheck:
scheme: foobar
path: foobar
port: 42
interval: foobar
timeout: foobar
hostname: foobar
followRedirects: true
headers:
name0: foobar
name1: foobar
passHostHeader: true
responseForwarding:
flushInterval: foobar
2020-09-11 13:40:03 +00:00
serversTransport: foobar
Service02:
2019-09-02 08:52:04 +00:00
mirroring:
service: foobar
maxBodySize: 42
healthCheck: {}
2019-09-02 08:52:04 +00:00
mirrors:
- name: foobar
percent: 42
- name: foobar
percent: 42
2019-09-02 08:52:04 +00:00
Service03:
weighted:
healthCheck: {}
services:
- name: foobar
weight: 42
- name: foobar
weight: 42
sticky:
cookie:
name: foobar
secure: true
httpOnly: true
2020-03-23 10:24:05 +00:00
sameSite: foobar
Service04:
failover:
service: foobar
fallback: foobar
healthCheck: {}
middlewares:
Middleware00:
addPrefix:
prefix: foobar
Middleware01:
basicAuth:
users:
- foobar
- foobar
usersFile: foobar
realm: foobar
removeHeader: true
headerField: foobar
Middleware02:
buffering:
maxRequestBodyBytes: 42
memRequestBodyBytes: 42
maxResponseBodyBytes: 42
memResponseBodyBytes: 42
retryExpression: foobar
Middleware03:
chain:
middlewares:
- foobar
- foobar
Middleware04:
circuitBreaker:
expression: foobar
checkPeriod: 42s
fallbackDuration: 42s
recoveryDuration: 42s
Middleware05:
compress:
excludedContentTypes:
- foobar
- foobar
minResponseBodyBytes: 42
Middleware06:
contentType:
autoDetect: true
Middleware07:
digestAuth:
users:
- foobar
- foobar
usersFile: foobar
removeHeader: true
realm: foobar
headerField: foobar
Middleware08:
errors:
status:
- foobar
- foobar
service: foobar
query: foobar
Middleware09:
forwardAuth:
address: foobar
tls:
ca: foobar
caOptional: true
cert: foobar
key: foobar
insecureSkipVerify: true
trustForwardHeader: true
authResponseHeaders:
- foobar
- foobar
authResponseHeadersRegex: foobar
2020-10-07 14:36:04 +00:00
authRequestHeaders:
- foobar
- foobar
Middleware10:
headers:
2019-07-01 09:30:05 +00:00
customRequestHeaders:
name0: foobar
name1: foobar
2019-07-01 09:30:05 +00:00
customResponseHeaders:
name0: foobar
name1: foobar
2019-07-01 09:30:05 +00:00
accessControlAllowCredentials: true
accessControlAllowHeaders:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
accessControlAllowMethods:
- foobar
- foobar
accessControlAllowOriginList:
- foobar
- foobar
accessControlAllowOriginListRegex:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
accessControlExposeHeaders:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
accessControlMaxAge: 42
addVaryHeader: true
allowedHosts:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
hostsProxyHeaders:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
sslRedirect: true
sslTemporaryRedirect: true
sslHost: foobar
sslProxyHeaders:
name0: foobar
name1: foobar
2019-07-01 09:30:05 +00:00
sslForceHost: true
stsSeconds: 42
stsIncludeSubdomains: true
stsPreload: true
forceSTSHeader: true
frameDeny: true
customFrameOptionsValue: foobar
contentTypeNosniff: true
browserXssFilter: true
customBrowserXSSValue: foobar
contentSecurityPolicy: foobar
publicKey: foobar
referrerPolicy: foobar
2019-07-29 14:12:05 +00:00
featurePolicy: foobar
permissionsPolicy: foobar
2019-07-01 09:30:05 +00:00
isDevelopment: true
Middleware11:
ipWhiteList:
sourceRange:
- foobar
- foobar
ipStrategy:
depth: 42
excludedIPs:
- foobar
- foobar
Middleware12:
inFlightReq:
amount: 42
sourceCriterion:
ipStrategy:
depth: 42
2019-09-02 08:52:04 +00:00
excludedIPs:
- foobar
- foobar
requestHeaderName: foobar
requestHost: true
Middleware13:
passTLSClientCert:
pem: true
info:
2019-07-01 09:30:05 +00:00
notAfter: true
notBefore: true
sans: true
subject:
country: true
province: true
locality: true
organization: true
organizationalUnit: true
2019-07-01 09:30:05 +00:00
commonName: true
serialNumber: true
domainComponent: true
issuer:
country: true
province: true
locality: true
organization: true
2019-07-01 09:30:05 +00:00
commonName: true
serialNumber: true
domainComponent: true
serialNumber: true
Middleware14:
plugin:
PluginConf:
foo: bar
Middleware15:
2019-09-02 08:52:04 +00:00
rateLimit:
average: 42
period: 42s
2019-09-02 08:52:04 +00:00
burst: 42
sourceCriterion:
ipStrategy:
2019-09-02 08:52:04 +00:00
depth: 42
excludedIPs:
- foobar
- foobar
2019-09-02 08:52:04 +00:00
requestHeaderName: foobar
requestHost: true
Middleware16:
redirectRegex:
regex: foobar
replacement: foobar
permanent: true
Middleware17:
redirectScheme:
scheme: foobar
port: foobar
permanent: true
Middleware18:
replacePath:
path: foobar
Middleware19:
replacePathRegex:
regex: foobar
replacement: foobar
Middleware20:
retry:
attempts: 42
initialInterval: 42s
Middleware21:
stripPrefix:
prefixes:
- foobar
- foobar
forceSlash: true
Middleware22:
stripPrefixRegex:
regex:
- foobar
- foobar
2020-09-11 13:40:03 +00:00
serversTransports:
ServersTransport0:
serverName: foobar
insecureSkipVerify: true
rootCAs:
- foobar
- foobar
2020-09-11 13:40:03 +00:00
certificates:
- certFile: foobar
keyFile: foobar
- certFile: foobar
keyFile: foobar
2020-09-11 13:40:03 +00:00
maxIdleConnsPerHost: 42
forwardingTimeouts:
dialTimeout: 42s
responseHeaderTimeout: 42s
idleConnTimeout: 42s
readIdleTimeout: 42s
pingTimeout: 42s
disableHTTP2: true
peerCertURI: foobar
2020-09-11 13:40:03 +00:00
ServersTransport1:
serverName: foobar
insecureSkipVerify: true
rootCAs:
- foobar
- foobar
2020-09-11 13:40:03 +00:00
certificates:
- certFile: foobar
keyFile: foobar
- certFile: foobar
keyFile: foobar
2020-09-11 13:40:03 +00:00
maxIdleConnsPerHost: 42
forwardingTimeouts:
dialTimeout: 42s
responseHeaderTimeout: 42s
idleConnTimeout: 42s
readIdleTimeout: 42s
pingTimeout: 42s
disableHTTP2: true
peerCertURI: foobar
tcp:
routers:
TCPRouter0:
2019-07-01 09:30:05 +00:00
entryPoints:
- foobar
- foobar
2021-06-11 13:30:05 +00:00
middlewares:
- foobar
- foobar
service: foobar
rule: foobar
2022-03-17 17:02:08 +00:00
priority: 42
tls:
passthrough: true
options: foobar
2019-07-22 07:58:04 +00:00
certResolver: foobar
domains:
- main: foobar
sans:
- foobar
- foobar
- main: foobar
sans:
- foobar
- foobar
TCPRouter1:
entryPoints:
- foobar
- foobar
2021-06-11 13:30:05 +00:00
middlewares:
- foobar
- foobar
service: foobar
rule: foobar
2022-03-17 17:02:08 +00:00
priority: 42
tls:
passthrough: true
options: foobar
2019-07-22 07:58:04 +00:00
certResolver: foobar
domains:
- main: foobar
sans:
- foobar
- foobar
- main: foobar
sans:
- foobar
- foobar
services:
TCPService01:
2019-07-01 09:30:05 +00:00
loadBalancer:
terminationDelay: 42
proxyProtocol:
version: 42
servers:
- address: foobar
- address: foobar
TCPService02:
weighted:
services:
- name: foobar
weight: 42
- name: foobar
weight: 42
middlewares:
TCPMiddleware00:
ipWhiteList:
sourceRange:
- foobar
- foobar
TCPMiddleware01:
inFlightConn:
amount: 42
udp:
routers:
UDPRouter0:
entryPoints:
- foobar
- foobar
service: foobar
UDPRouter1:
entryPoints:
- foobar
- foobar
service: foobar
services:
UDPService01:
loadBalancer:
servers:
- address: foobar
- address: foobar
UDPService02:
weighted:
services:
- name: foobar
weight: 42
- name: foobar
weight: 42
tls:
2019-07-01 09:30:05 +00:00
certificates:
- certFile: foobar
keyFile: foobar
stores:
- foobar
- foobar
- certFile: foobar
keyFile: foobar
stores:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
options:
Options0:
2019-07-01 09:30:05 +00:00
minVersion: foobar
maxVersion: foobar
2019-07-01 09:30:05 +00:00
cipherSuites:
- foobar
- foobar
curvePreferences:
- foobar
- foobar
clientAuth:
caFiles:
- foobar
- foobar
2019-07-22 07:58:04 +00:00
clientAuthType: foobar
2019-07-01 09:30:05 +00:00
sniStrict: true
preferServerCipherSuites: true
2021-08-20 16:20:06 +00:00
alpnProtocols:
- foobar
- foobar
Options1:
2019-07-01 09:30:05 +00:00
minVersion: foobar
maxVersion: foobar
2019-07-01 09:30:05 +00:00
cipherSuites:
- foobar
- foobar
curvePreferences:
- foobar
- foobar
clientAuth:
caFiles:
- foobar
- foobar
2019-07-22 07:58:04 +00:00
clientAuthType: foobar
2019-07-01 09:30:05 +00:00
sniStrict: true
preferServerCipherSuites: true
2021-08-20 16:20:06 +00:00
alpnProtocols:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
stores:
Store0:
defaultCertificate:
certFile: foobar
keyFile: foobar
Store1:
defaultCertificate:
certFile: foobar
keyFile: foobar