forked from SW/traefik
Add TCP Servers Transports support
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
This commit is contained in:
@@ -389,7 +389,6 @@
|
||||
},
|
||||
"foo": {
|
||||
"loadBalancer": {
|
||||
"terminationDelay": 42,
|
||||
"proxyProtocol": {
|
||||
"version": 42
|
||||
},
|
||||
@@ -397,6 +396,27 @@
|
||||
{
|
||||
"address": "xxxx"
|
||||
}
|
||||
],
|
||||
"serversTransport": "foo"
|
||||
}
|
||||
}
|
||||
},
|
||||
"serversTransports": {
|
||||
"foo": {
|
||||
"dialKeepAlive": "42ns",
|
||||
"dialTimeout": "42ns",
|
||||
"terminationDelay": "42ns",
|
||||
"tls": {
|
||||
"serverName": "xxxx",
|
||||
"insecureSkipVerify": true,
|
||||
"rootCAs": [
|
||||
"xxxx"
|
||||
],
|
||||
"certificates": [
|
||||
{
|
||||
"certFile": "xxxx",
|
||||
"keyFile": "xxxx"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -466,4 +486,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,18 @@
|
||||
"idleConnTimeout": "1m51s"
|
||||
}
|
||||
},
|
||||
"tcpServersTransport": {
|
||||
"dialKeepAlive": "1m51s",
|
||||
"dialTimeout": "1m51s",
|
||||
"tls": {
|
||||
"insecureSkipVerify": true,
|
||||
"rootCAs": [
|
||||
"xxxx",
|
||||
"xxxx",
|
||||
"xxxx"
|
||||
]
|
||||
}
|
||||
},
|
||||
"entryPoints": {
|
||||
"foobar": {
|
||||
"address": "xxxx",
|
||||
|
||||
@@ -392,7 +392,6 @@
|
||||
},
|
||||
"foo": {
|
||||
"loadBalancer": {
|
||||
"terminationDelay": 42,
|
||||
"proxyProtocol": {
|
||||
"version": 42
|
||||
},
|
||||
@@ -400,6 +399,27 @@
|
||||
{
|
||||
"address": "127.0.0.1:8080"
|
||||
}
|
||||
],
|
||||
"serversTransport": "foo"
|
||||
}
|
||||
}
|
||||
},
|
||||
"serversTransports": {
|
||||
"foo": {
|
||||
"dialKeepAlive": "42ns",
|
||||
"dialTimeout": "42ns",
|
||||
"terminationDelay": "42ns",
|
||||
"tls": {
|
||||
"serverName": "foo",
|
||||
"insecureSkipVerify": true,
|
||||
"rootCAs": [
|
||||
"rootca.pem"
|
||||
],
|
||||
"certificates": [
|
||||
{
|
||||
"certFile": "cert.pem",
|
||||
"keyFile": "xxxx"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -474,4 +494,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user