Add a new protocol
Co-authored-by: Gérald Croës <gerald@containo.us>
This commit is contained in:
parent
0ca2149408
commit
4a68d29ce2
231 changed files with 6895 additions and 4395 deletions
|
@ -1,21 +1,17 @@
|
|||
[log]
|
||||
logLevel = "DEBUG"
|
||||
logLevel = "DEBUG"
|
||||
|
||||
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = "{{ .PortHTTP }}"
|
||||
[entryPoints.https]
|
||||
address = "{{ .PortHTTPS }}"
|
||||
[entryPoints.https.tls]
|
||||
[entrypoints]
|
||||
[entrypoints.web]
|
||||
address = "{{ .PortHTTP }}"
|
||||
[entrypoints.web-secure]
|
||||
address = "{{ .PortHTTPS }}"
|
||||
|
||||
[acme]
|
||||
email = "test@traefik.io"
|
||||
storage = "/tmp/acme.json"
|
||||
entryPoint = "https"
|
||||
# entryPoint = "https"
|
||||
acmeLogging = true
|
||||
onDemand = {{ .Acme.OnDemand }}
|
||||
onHostRule = {{ .Acme.OnHostRule }}
|
||||
keyType = "{{ .Acme.KeyType }}"
|
||||
caServer = "{{ .Acme.CAServer }}"
|
||||
|
@ -42,14 +38,15 @@ logLevel = "DEBUG"
|
|||
[providers]
|
||||
[providers.file]
|
||||
|
||||
[services]
|
||||
[services.test.loadbalancer]
|
||||
[[services.test.loadbalancer.servers]]
|
||||
url = "http://127.0.0.1:9010"
|
||||
weight = 1
|
||||
[http.services]
|
||||
[http.services.test.loadbalancer]
|
||||
[[http.services.test.loadbalancer.servers]]
|
||||
url = "http://127.0.0.1:9010"
|
||||
weight = 1
|
||||
|
||||
[routers]
|
||||
[routers.test]
|
||||
service = "test"
|
||||
rule = "Host(`traefik.acme.wtf`)"
|
||||
entryPoints = ["https"]
|
||||
[http.routers]
|
||||
[http.routers.test]
|
||||
entryPoints = ["web-secure"]
|
||||
rule = "Host(`traefik.acme.wtf`)"
|
||||
service = "test"
|
||||
[http.routers.test.tls]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue