Fix redirect problem on dashboard + docs/tests on [web]
This commit is contained in:
parent
d0f3ad6024
commit
e2c5f3712f
47 changed files with 134 additions and 88 deletions
|
@ -8,14 +8,16 @@ defaultEntryPoints = ["http"]
|
|||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
[entryPoints.api]
|
||||
address = ":7888"
|
||||
|
||||
checkNewVersion = false
|
||||
|
||||
################################################################
|
||||
# Web configuration backend
|
||||
# Api configuration
|
||||
################################################################
|
||||
[web]
|
||||
address = ":7888"
|
||||
[api]
|
||||
entryPoint = "api"
|
||||
|
||||
################################################################
|
||||
# File configuration backend
|
||||
|
|
|
@ -5,6 +5,8 @@ logLevel = "DEBUG"
|
|||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
[entryPoints.api]
|
||||
address = ":8081"
|
||||
|
||||
|
||||
[consul]
|
||||
|
@ -12,5 +14,5 @@ logLevel = "DEBUG"
|
|||
watch = true
|
||||
prefix = "traefik"
|
||||
|
||||
[web]
|
||||
address = ":8081"
|
||||
[api]
|
||||
entryPoint = "api"
|
||||
|
|
|
@ -3,6 +3,8 @@ defaultEntryPoints = ["http","https"]
|
|||
logLevel = "DEBUG"
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.api]
|
||||
address = ":8081"
|
||||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
[entryPoints.https]
|
||||
|
@ -16,5 +18,5 @@ logLevel = "DEBUG"
|
|||
prefix = "traefik"
|
||||
watch = true
|
||||
|
||||
[web]
|
||||
address = ":8081"
|
||||
[api]
|
||||
entryPoint = "api"
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
defaultEntryPoints = ["http"]
|
||||
logLevel = "DEBUG"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
|
|
|
@ -6,7 +6,7 @@ logLevel = "DEBUG"
|
|||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
|
||||
[web]
|
||||
[api]
|
||||
|
||||
[docker]
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@ logLevel = "DEBUG"
|
|||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":8080"
|
||||
[entryPoints.api]
|
||||
address = ":8081"
|
||||
|
||||
[dynamodb]
|
||||
AccessKeyID = "key"
|
||||
|
@ -12,5 +14,5 @@ logLevel = "DEBUG"
|
|||
Endpoint = "{{.DynamoURL}}"
|
||||
Region = "us-east-1"
|
||||
|
||||
[web]
|
||||
address = ":8081"
|
||||
[api]
|
||||
entryPoint = "api"
|
||||
|
|
|
@ -5,6 +5,8 @@ logLevel = "DEBUG"
|
|||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
[entryPoints.api]
|
||||
address = ":8081"
|
||||
|
||||
|
||||
[etcd]
|
||||
|
@ -13,5 +15,5 @@ logLevel = "DEBUG"
|
|||
watch = true
|
||||
useAPIV3 = {{.UseAPIV3}}
|
||||
|
||||
[web]
|
||||
address = ":8081"
|
||||
[api]
|
||||
entryPoint = "api"
|
|
@ -3,6 +3,8 @@ defaultEntryPoints = ["http","https"]
|
|||
logLevel = "DEBUG"
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.api]
|
||||
address = ":8081"
|
||||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
[entryPoints.https]
|
||||
|
@ -16,5 +18,6 @@ logLevel = "DEBUG"
|
|||
# prefix = "/traefik"
|
||||
# watch = true
|
||||
|
||||
[web]
|
||||
address = ":8081"
|
||||
|
||||
[api]
|
||||
entryPoint = "api"
|
|
@ -10,5 +10,4 @@ logLevel = "DEBUG"
|
|||
[eureka]
|
||||
endpoint = "http://{{.EurekaHost}}:8761/eureka"
|
||||
delay = "1s"
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
|
|
@ -11,8 +11,7 @@ RootCAs = [ """{{ .CertContent }}""" ]
|
|||
keyFile = """{{ .KeyContent }}"""
|
||||
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -11,8 +11,7 @@ InsecureSkipVerify = true
|
|||
keyFile = """{{ .KeyContent }}"""
|
||||
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -8,8 +8,7 @@ logLevel = "DEBUG"
|
|||
[entryPoints.http2]
|
||||
address = ":9000"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
[backends]
|
||||
|
|
|
@ -8,8 +8,7 @@ logLevel = "DEBUG"
|
|||
[entryPoints.http2]
|
||||
address = ":9000"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
[backends]
|
||||
|
|
|
@ -6,8 +6,7 @@ logLevel = "DEBUG"
|
|||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
[backends]
|
||||
|
|
|
@ -6,8 +6,7 @@ logLevel = "DEBUG"
|
|||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
[backends]
|
||||
|
|
|
@ -16,8 +16,7 @@ defaultEntryPoints = ["https"]
|
|||
certFile = "fixtures/https/snitest.org.cert"
|
||||
keyFile = "fixtures/https/snitest.org.key"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ defaultEntryPoints = ["https"]
|
|||
certFile = "fixtures/https/snitest.org.cert"
|
||||
keyFile = "fixtures/https/snitest.org.key"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -16,8 +16,7 @@ defaultEntryPoints = ["https"]
|
|||
certFile = "fixtures/https/snitest.org.cert"
|
||||
keyFile = "fixtures/https/snitest.org.key"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -10,8 +10,7 @@ defaultEntryPoints = ["https"]
|
|||
address = ":8443"
|
||||
[entryPoints.https02.tls]
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -13,8 +13,7 @@ defaultEntryPoints = ["https"]
|
|||
certFile = "fixtures/https/snitest.org.cert"
|
||||
keyFile = "fixtures/https/snitest.org.key"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -24,8 +24,7 @@ fblo6RBxUQ==
|
|||
[entryPoints.http]
|
||||
address = ":8081"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -9,8 +9,7 @@ RootCAs = [ "fixtures/https/rootcas/local.crt"]
|
|||
[entryPoints.http]
|
||||
address = ":8081"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -8,14 +8,16 @@ defaultEntryPoints = ["http"]
|
|||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
[entryPoints.api]
|
||||
address = ":7888"
|
||||
|
||||
checkNewVersion = false
|
||||
|
||||
################################################################
|
||||
# Web configuration backend
|
||||
# Api configuration backend
|
||||
################################################################
|
||||
[web]
|
||||
address = ":7888"
|
||||
[api]
|
||||
entryPoint = "api"
|
||||
|
||||
################################################################
|
||||
# File configuration backend
|
||||
|
|
|
@ -5,9 +5,11 @@ logLevel = "DEBUG"
|
|||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
[entryPoints.api]
|
||||
address = ":9090"
|
||||
|
||||
[web]
|
||||
address = ":9090"
|
||||
[api]
|
||||
entryPoint = "api"
|
||||
|
||||
[marathon]
|
||||
endpoint = "{{.MarathonURL}}"
|
||||
|
|
|
@ -7,8 +7,7 @@ address = ":8000"
|
|||
[entryPoints.http.proxyProtocol]
|
||||
trustedIPs = ["{{.HaproxyIP}}"]
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -7,8 +7,7 @@ address = ":8000"
|
|||
[entryPoints.http.proxyProtocol]
|
||||
trustedIPs = ["1.2.3.4"]
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -5,5 +5,4 @@ defaultEntryPoints = ["http"]
|
|||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
|
|
@ -8,8 +8,7 @@ defaultEntryPoints = ["http"]
|
|||
[accessLog]
|
||||
format = "json"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[forwardingTimeouts]
|
||||
dialTimeout = "300ms"
|
||||
|
|
|
@ -7,8 +7,7 @@ logLevel = "DEBUG"
|
|||
address = ":8000"
|
||||
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
|
@ -11,8 +11,7 @@ InsecureSkipVerify=true
|
|||
certFile = "resources/tls/local.cert"
|
||||
keyFile = "resources/tls/local.key"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue