TLSOptions: handle conflict: same host name, different TLS options
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
This commit is contained in:
parent
9db9143366
commit
39aae4167e
6 changed files with 193 additions and 8 deletions
|
@ -35,6 +35,18 @@
|
|||
[http.routers.router3.tls]
|
||||
options = "unknown"
|
||||
|
||||
[http.routers.router4]
|
||||
service = "service1"
|
||||
rule = "Host(`snitest.net`)"
|
||||
[http.routers.router4.tls]
|
||||
options = "foo"
|
||||
|
||||
[http.routers.router5]
|
||||
service = "service1"
|
||||
rule = "Host(`snitest.net`)"
|
||||
[http.routers.router5.tls]
|
||||
options = "baz"
|
||||
|
||||
[http.services]
|
||||
[http.services.service1]
|
||||
[http.services.service1.loadBalancer]
|
||||
|
@ -59,5 +71,11 @@
|
|||
[tls.options.foo]
|
||||
minversion = "VersionTLS11"
|
||||
|
||||
[tls.options.baz]
|
||||
minversion = "VersionTLS11"
|
||||
|
||||
[tls.options.bar]
|
||||
minversion = "VersionTLS12"
|
||||
|
||||
[tls.options.default]
|
||||
minversion = "VersionTLS12"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue