1
0
Fork 0

Add a new protocol

Co-authored-by: Gérald Croës <gerald@containo.us>
This commit is contained in:
Julien Salleyron 2019-03-14 09:30:04 +01:00 committed by Traefiker Bot
parent 0ca2149408
commit 4a68d29ce2
231 changed files with 6895 additions and 4395 deletions

View file

@ -21,8 +21,8 @@ fblo6RBxUQ==
-----END CERTIFICATE-----
"""]
[entryPoints]
[entryPoints.http]
[entrypoints]
[entrypoints.web]
address = ":8081"
[api]
@ -30,15 +30,15 @@ fblo6RBxUQ==
[providers]
[providers.file]
[Routers]
[Routers.router1]
[http.routers]
[http.routers.router1]
Service = "service1"
Rule = "Path(`/ping`)"
[Services]
[Services.service1]
[Services.service1.LoadBalancer]
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
[[Services.service1.LoadBalancer.Servers]]
[[http.services.service1.LoadBalancer.Servers]]
URL = "{{ .BackendHost }}"
Weight = 1

View file

@ -5,8 +5,8 @@ logLevel = "DEBUG"
# Use certificate in net/internal/testcert.go
rootCAs = [ "fixtures/https/rootcas/local.crt"]
[entryPoints]
[entryPoints.http]
[entrypoints]
[entrypoints.web]
address = ":8081"
[api]
@ -14,15 +14,15 @@ rootCAs = [ "fixtures/https/rootcas/local.crt"]
[providers]
[providers.file]
[Routers]
[Routers.router1]
[http.routers]
[http.routers.router1]
Service = "service1"
Rule = "Path(`/ping`)"
[Services]
[Services.service1]
[Services.service1.LoadBalancer]
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
[[Services.service1.LoadBalancer.Servers]]
[[http.services.service1.LoadBalancer.Servers]]
URL = "{{ .BackendHost }}"
Weight = 1