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

282 lines
6 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
2019-07-01 09:30:05 +00:00
tls: {}
middlewares:
Middleware0:
addPrefix:
prefix: foobar
Middleware1:
stripPrefix:
prefixes:
- foobar
- foobar
Middleware2:
stripPrefixRegex:
regex:
- foobar
- foobar
Middleware3:
replacePath:
path: foobar
Middleware4:
replacePathRegex:
regex: foobar
replacement: foobar
Middleware5:
chain:
middlewares:
- foobar
- foobar
Middleware6:
ipWhiteList:
2019-07-01 09:30:05 +00:00
sourceRange:
- foobar
- foobar
Middleware7:
ipWhiteList:
2019-07-01 09:30:05 +00:00
ipStrategy:
depth: 42
2019-07-01 09:30:05 +00:00
excludedIPs:
- foobar
- foobar
Middleware8:
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
2019-07-01 09:30:05 +00:00
accessControlAllowOrigin: foobar
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
isDevelopment: true
Middleware9:
errors:
status:
- foobar
- foobar
service: foobar
query: foobar
Middleware10:
rateLimit:
2019-07-01 09:30:05 +00:00
rateSet:
Rate0:
period: 42000000000
average: 42
burst: 42
Rate1:
period: 42000000000
average: 42
burst: 42
2019-07-01 09:30:05 +00:00
extractorFunc: foobar
Middleware11:
redirectRegex:
regex: foobar
replacement: foobar
permanent: true
Middleware12:
redirectScheme:
scheme: foobar
port: foobar
permanent: true
Middleware13:
basicAuth:
users:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
usersFile: foobar
realm: foobar
2019-07-01 09:30:05 +00:00
removeHeader: true
headerField: foobar
Middleware14:
digestAuth:
users:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
usersFile: foobar
removeHeader: true
realm: foobar
2019-07-01 09:30:05 +00:00
headerField: foobar
Middleware15:
forwardAuth:
address: 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
trustForwardHeader: true
authResponseHeaders:
- foobar
- foobar
Middleware16:
maxConn:
amount: 42
2019-07-01 09:30:05 +00:00
extractorFunc: foobar
Middleware17:
buffering:
2019-07-01 09:30:05 +00:00
maxRequestBodyBytes: 42
memRequestBodyBytes: 42
maxResponseBodyBytes: 42
memResponseBodyBytes: 42
retryExpression: foobar
Middleware18:
circuitBreaker:
expression: foobar
Middleware19:
compress: {}
Middleware20:
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
Middleware21:
retry:
2019-07-01 09:30:05 +00:00
attemps: 42
services:
Service0:
2019-07-01 09:30:05 +00:00
loadBalancer:
stickiness:
2019-07-01 09:30:05 +00:00
cookieName: foobar
servers:
- url: foobar
- url: foobar
2019-07-01 09:30:05 +00:00
healthCheck:
scheme: foobar
path: foobar
port: 42
interval: foobar
timeout: foobar
hostname: foobar
headers:
name0: foobar
name1: foobar
2019-07-01 09:30:05 +00:00
passHostHeader: true
responseForwarding:
flushInterval: foobar
tcp:
routers:
TCPRouter0:
2019-07-01 09:30:05 +00:00
entryPoints:
- foobar
- foobar
service: foobar
rule: foobar
tls:
passthrough: true
services:
TCPService0:
2019-07-01 09:30:05 +00:00
loadBalancer:
servers:
- address: foobar
- address: foobar
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:
TLS0:
minVersion: foobar
cipherSuites:
- foobar
- foobar
2019-07-01 09:30:05 +00:00
clientCA:
files:
- foobar
- foobar
optional: true
sniStrict: true
TLS1:
minVersion: foobar
cipherSuites:
- foobar
- foobar
clientCA:
files:
- foobar
- foobar
optional: true
sniStrict: true
stores:
Store0:
defaultCertificate:
certFile: foobar
keyFile: foobar
Store1:
defaultCertificate:
certFile: foobar
keyFile: foobar