523 lines
11 KiB
YAML
523 lines
11 KiB
YAML
http:
|
|
routers:
|
|
Router0:
|
|
entryPoints:
|
|
- foobar
|
|
- foobar
|
|
middlewares:
|
|
- foobar
|
|
- foobar
|
|
service: foobar
|
|
rule: foobar
|
|
priority: 42
|
|
tls:
|
|
options: foobar
|
|
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
|
|
certResolver: foobar
|
|
domains:
|
|
- main: foobar
|
|
sans:
|
|
- foobar
|
|
- foobar
|
|
- main: foobar
|
|
sans:
|
|
- foobar
|
|
- foobar
|
|
services:
|
|
Service01:
|
|
loadBalancer:
|
|
sticky:
|
|
cookie:
|
|
name: foobar
|
|
secure: true
|
|
httpOnly: true
|
|
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
|
|
serversTransport: foobar
|
|
Service02:
|
|
mirroring:
|
|
service: foobar
|
|
maxBodySize: 42
|
|
healthCheck: {}
|
|
mirrors:
|
|
- name: foobar
|
|
percent: 42
|
|
- name: foobar
|
|
percent: 42
|
|
Service03:
|
|
weighted:
|
|
healthCheck: {}
|
|
services:
|
|
- name: foobar
|
|
weight: 42
|
|
- name: foobar
|
|
weight: 42
|
|
sticky:
|
|
cookie:
|
|
name: foobar
|
|
secure: true
|
|
httpOnly: true
|
|
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
|
|
authRequestHeaders:
|
|
- foobar
|
|
- foobar
|
|
Middleware10:
|
|
headers:
|
|
customRequestHeaders:
|
|
name0: foobar
|
|
name1: foobar
|
|
customResponseHeaders:
|
|
name0: foobar
|
|
name1: foobar
|
|
accessControlAllowCredentials: true
|
|
accessControlAllowHeaders:
|
|
- foobar
|
|
- foobar
|
|
accessControlAllowMethods:
|
|
- foobar
|
|
- foobar
|
|
accessControlAllowOriginList:
|
|
- foobar
|
|
- foobar
|
|
accessControlAllowOriginListRegex:
|
|
- foobar
|
|
- foobar
|
|
accessControlExposeHeaders:
|
|
- foobar
|
|
- foobar
|
|
accessControlMaxAge: 42
|
|
addVaryHeader: true
|
|
allowedHosts:
|
|
- foobar
|
|
- foobar
|
|
hostsProxyHeaders:
|
|
- foobar
|
|
- foobar
|
|
sslRedirect: true
|
|
sslTemporaryRedirect: true
|
|
sslHost: foobar
|
|
sslProxyHeaders:
|
|
name0: foobar
|
|
name1: foobar
|
|
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
|
|
featurePolicy: foobar
|
|
permissionsPolicy: foobar
|
|
isDevelopment: true
|
|
Middleware11:
|
|
ipWhiteList:
|
|
sourceRange:
|
|
- foobar
|
|
- foobar
|
|
ipStrategy:
|
|
depth: 42
|
|
excludedIPs:
|
|
- foobar
|
|
- foobar
|
|
Middleware12:
|
|
inFlightReq:
|
|
amount: 42
|
|
sourceCriterion:
|
|
ipStrategy:
|
|
depth: 42
|
|
excludedIPs:
|
|
- foobar
|
|
- foobar
|
|
requestHeaderName: foobar
|
|
requestHost: true
|
|
Middleware13:
|
|
passTLSClientCert:
|
|
pem: true
|
|
info:
|
|
notAfter: true
|
|
notBefore: true
|
|
sans: true
|
|
subject:
|
|
country: true
|
|
province: true
|
|
locality: true
|
|
organization: true
|
|
organizationalUnit: true
|
|
commonName: true
|
|
serialNumber: true
|
|
domainComponent: true
|
|
issuer:
|
|
country: true
|
|
province: true
|
|
locality: true
|
|
organization: true
|
|
commonName: true
|
|
serialNumber: true
|
|
domainComponent: true
|
|
serialNumber: true
|
|
Middleware14:
|
|
plugin:
|
|
PluginConf:
|
|
foo: bar
|
|
Middleware15:
|
|
rateLimit:
|
|
average: 42
|
|
period: 42s
|
|
burst: 42
|
|
sourceCriterion:
|
|
ipStrategy:
|
|
depth: 42
|
|
excludedIPs:
|
|
- foobar
|
|
- foobar
|
|
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
|
|
serversTransports:
|
|
ServersTransport0:
|
|
serverName: foobar
|
|
insecureSkipVerify: true
|
|
rootCAs:
|
|
- foobar
|
|
- foobar
|
|
certificates:
|
|
- certFile: foobar
|
|
keyFile: foobar
|
|
- certFile: foobar
|
|
keyFile: foobar
|
|
maxIdleConnsPerHost: 42
|
|
forwardingTimeouts:
|
|
dialTimeout: 42s
|
|
responseHeaderTimeout: 42s
|
|
idleConnTimeout: 42s
|
|
readIdleTimeout: 42s
|
|
pingTimeout: 42s
|
|
disableHTTP2: true
|
|
peerCertURI: foobar
|
|
ServersTransport1:
|
|
serverName: foobar
|
|
insecureSkipVerify: true
|
|
rootCAs:
|
|
- foobar
|
|
- foobar
|
|
certificates:
|
|
- certFile: foobar
|
|
keyFile: foobar
|
|
- certFile: foobar
|
|
keyFile: foobar
|
|
maxIdleConnsPerHost: 42
|
|
forwardingTimeouts:
|
|
dialTimeout: 42s
|
|
responseHeaderTimeout: 42s
|
|
idleConnTimeout: 42s
|
|
readIdleTimeout: 42s
|
|
pingTimeout: 42s
|
|
disableHTTP2: true
|
|
peerCertURI: foobar
|
|
tcp:
|
|
routers:
|
|
TCPRouter0:
|
|
entryPoints:
|
|
- foobar
|
|
- foobar
|
|
middlewares:
|
|
- foobar
|
|
- foobar
|
|
service: foobar
|
|
rule: foobar
|
|
priority: 42
|
|
tls:
|
|
passthrough: true
|
|
options: foobar
|
|
certResolver: foobar
|
|
domains:
|
|
- main: foobar
|
|
sans:
|
|
- foobar
|
|
- foobar
|
|
- main: foobar
|
|
sans:
|
|
- foobar
|
|
- foobar
|
|
TCPRouter1:
|
|
entryPoints:
|
|
- foobar
|
|
- foobar
|
|
middlewares:
|
|
- foobar
|
|
- foobar
|
|
service: foobar
|
|
rule: foobar
|
|
priority: 42
|
|
tls:
|
|
passthrough: true
|
|
options: foobar
|
|
certResolver: foobar
|
|
domains:
|
|
- main: foobar
|
|
sans:
|
|
- foobar
|
|
- foobar
|
|
- main: foobar
|
|
sans:
|
|
- foobar
|
|
- foobar
|
|
services:
|
|
TCPService01:
|
|
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:
|
|
certificates:
|
|
- certFile: foobar
|
|
keyFile: foobar
|
|
stores:
|
|
- foobar
|
|
- foobar
|
|
- certFile: foobar
|
|
keyFile: foobar
|
|
stores:
|
|
- foobar
|
|
- foobar
|
|
options:
|
|
Options0:
|
|
minVersion: foobar
|
|
maxVersion: foobar
|
|
cipherSuites:
|
|
- foobar
|
|
- foobar
|
|
curvePreferences:
|
|
- foobar
|
|
- foobar
|
|
clientAuth:
|
|
caFiles:
|
|
- foobar
|
|
- foobar
|
|
clientAuthType: foobar
|
|
sniStrict: true
|
|
preferServerCipherSuites: true
|
|
alpnProtocols:
|
|
- foobar
|
|
- foobar
|
|
Options1:
|
|
minVersion: foobar
|
|
maxVersion: foobar
|
|
cipherSuites:
|
|
- foobar
|
|
- foobar
|
|
curvePreferences:
|
|
- foobar
|
|
- foobar
|
|
clientAuth:
|
|
caFiles:
|
|
- foobar
|
|
- foobar
|
|
clientAuthType: foobar
|
|
sniStrict: true
|
|
preferServerCipherSuites: true
|
|
alpnProtocols:
|
|
- foobar
|
|
- foobar
|
|
stores:
|
|
Store0:
|
|
defaultCertificate:
|
|
certFile: foobar
|
|
keyFile: foobar
|
|
Store1:
|
|
defaultCertificate:
|
|
certFile: foobar
|
|
keyFile: foobar
|