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

389 lines
8.3 KiB
YAML
Raw Normal View History

http:
routers:
Router0:
2019-07-01 09:30:05 +00:00
entryPoints:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
middlewares:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
service: foobar
rule: foobar
priority: 42
tls:
options: foobar
2019-07-22 07:58:04 +00:00
certResolver: foobar
domains:
2019-09-23 15:00:06 +00:00
- main: foobar
sans:
- foobar
- foobar
- main: foobar
sans:
- foobar
- foobar
Router1:
entryPoints:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
middlewares:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
service: foobar
rule: foobar
priority: 42
tls:
options: foobar
2019-07-22 07:58:04 +00:00
certResolver: foobar
domains:
2019-09-23 15:00:06 +00:00
- main: foobar
sans:
- foobar
- foobar
- main: foobar
sans:
- foobar
- foobar
services:
Service01:
loadBalancer:
sticky:
cookie:
name: foobar
secure: true
httpOnly: true
servers:
2019-09-23 15:00:06 +00:00
- url: foobar
- url: foobar
healthCheck:
scheme: foobar
path: foobar
port: 42
interval: foobar
timeout: foobar
hostname: foobar
headers:
name0: foobar
name1: foobar
passHostHeader: true
responseForwarding:
flushInterval: foobar
Service02:
2019-09-02 08:52:04 +00:00
mirroring:
service: foobar
mirrors:
2019-09-23 15:00:06 +00:00
- name: foobar
percent: 42
- name: foobar
percent: 42
2019-09-02 08:52:04 +00:00
Service03:
weighted:
services:
2019-09-23 15:00:06 +00:00
- name: foobar
weight: 42
- name: foobar
weight: 42
sticky:
cookie:
name: foobar
secure: true
httpOnly: true
middlewares:
Middleware00:
addPrefix:
prefix: foobar
Middleware01:
basicAuth:
users:
2019-09-23 15:00:06 +00:00
- 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:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
Middleware04:
circuitBreaker:
expression: foobar
Middleware05:
compress: {}
Middleware06:
digestAuth:
users:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
usersFile: foobar
removeHeader: true
realm: foobar
headerField: foobar
Middleware07:
errors:
status:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
service: foobar
query: foobar
Middleware08:
forwardAuth:
address: foobar
tls:
ca: foobar
caOptional: true
cert: foobar
key: foobar
insecureSkipVerify: true
trustForwardHeader: true
authResponseHeaders:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
Middleware09:
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:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
2019-07-01 09:30:05 +00:00
accessControlAllowMethods:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
2019-07-01 09:30:05 +00:00
accessControlAllowOrigin: foobar
accessControlExposeHeaders:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
2019-07-01 09:30:05 +00:00
accessControlMaxAge: 42
addVaryHeader: true
allowedHosts:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
2019-07-01 09:30:05 +00:00
hostsProxyHeaders:
2019-09-23 15:00:06 +00:00
- 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
2019-07-01 09:30:05 +00:00
isDevelopment: true
Middleware10:
ipWhiteList:
sourceRange:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
ipStrategy:
depth: 42
excludedIPs:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
Middleware11:
inFlightReq:
amount: 42
sourceCriterion:
2019-09-02 08:52:04 +00:00
ipstrategy:
depth: 42
2019-09-02 08:52:04 +00:00
excludedIPs:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
requestHeaderName: foobar
requestHost: true
Middleware12:
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
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
2019-07-22 07:58:04 +00:00
Middleware13:
2019-09-02 08:52:04 +00:00
rateLimit:
average: 42
burst: 42
sourceCriterion:
ipstrategy:
depth: 42
excludedIPs:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
2019-09-02 08:52:04 +00:00
requestHeaderName: foobar
requestHost: true
Middleware14:
redirectRegex:
regex: foobar
replacement: foobar
permanent: true
2019-09-02 08:52:04 +00:00
Middleware15:
redirectScheme:
scheme: foobar
port: foobar
permanent: true
2019-09-02 08:52:04 +00:00
Middleware16:
replacePath:
path: foobar
2019-09-02 08:52:04 +00:00
Middleware17:
replacePathRegex:
regex: foobar
replacement: foobar
2019-09-02 08:52:04 +00:00
Middleware18:
retry:
attempts: 42
2019-09-02 08:52:04 +00:00
Middleware19:
stripPrefix:
prefixes:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
2019-09-02 08:52:04 +00:00
Middleware20:
stripPrefixRegex:
regex:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
tcp:
routers:
TCPRouter0:
2019-07-01 09:30:05 +00:00
entryPoints:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
service: foobar
rule: foobar
tls:
passthrough: true
options: foobar
2019-07-22 07:58:04 +00:00
certResolver: foobar
domains:
2019-09-23 15:00:06 +00:00
- main: foobar
sans:
- foobar
- foobar
- main: foobar
sans:
- foobar
- foobar
TCPRouter1:
entryPoints:
2019-09-23 15:00:06 +00:00
- foobar
- foobar
service: foobar
rule: foobar
tls:
passthrough: true
options: foobar
2019-07-22 07:58:04 +00:00
certResolver: foobar
domains:
2019-09-23 15:00:06 +00:00
- main: foobar
sans:
- foobar
- foobar
- main: foobar
sans:
- foobar
- foobar
services:
TCPService0:
2019-07-01 09:30:05 +00:00
loadBalancer:
terminationDelay: 100
servers:
2019-09-23 15:00:06 +00:00
- address: foobar
- address: foobar
TCPService1:
loadBalancer:
terminationDelay: 100
servers:
2019-09-23 15:00:06 +00:00
- address: foobar
- address: foobar
tls:
2019-07-01 09:30:05 +00:00
certificates:
2019-09-23 15:00:06 +00:00
- 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
2019-09-23 15:00:06 +00:00
clientAuth:
caFiles:
- foobar
- foobar
2019-07-22 07:58:04 +00:00
clientAuthType: foobar
2019-07-01 09:30:05 +00:00
sniStrict: true
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
2019-09-23 15:00:06 +00:00
clientAuth:
caFiles:
- foobar
- foobar
2019-07-22 07:58:04 +00:00
clientAuthType: foobar
2019-07-01 09:30:05 +00:00
sniStrict: true
stores:
Store0:
defaultCertificate:
certFile: foobar
keyFile: foobar
Store1:
defaultCertificate:
certFile: foobar
keyFile: foobar