信息中心地址为404

时间:2018-03-26 05:55:54

标签: traefik

我在ASF项目中使用Traefik,仪表板返回404 - http://localhost:8080。路由规则仍然完美无缺,我只是没有可视化。

有人可以提出理由/如何解决此问题吗?

找不到Traefik / Traefik的延伸是罪魁祸首吗?

Traefik.toml

    ################################################################
# Global configuration
################################################################

debug = true
logLevel = "INFO"

defaultEntryPoints = ["http"]

[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.traefik]
address = ":8080"


################################################################
# API definition
################################################################

[api]
  entryPoint = "traefik"
  dashboard = true
  debug = true

################################################################
# Service Fabric provider
################################################################

[servicefabric]
clustermanagementurl = "http://localhost:19080"
apiversion = "3.0"

日志条目:

  

时间=#&34; 2018-03-26T16:52:19 + 11:00" level = debug msg ="扩展标签   找到acme.Hierarchy / acme.Hierarchy.Service with key   traefik.frontend.rule和值PathPrefixStrip:/ hierarchy"   时间=#&34; 2018-03-26T16:52:19 + 11:00" level = debug msg ="扩展标签   找到acme.Hierarchy / acme.Hierarchy.Service with key   traefik.expose和value true"时间=#&34; 2018-03-26T16:52:19 + 11:00"   level = debug msg ="找到扩展标签   acme.Hierarchy / acme.Hierarchy.Service with key   traefik.frontend.passHostHeader和value true"   时间=#&34; 2018-03-26T16:52:19 + 11:00" level = debug msg =" 未找到扩展名   对于Traefik / Traefik" 时间=" 2018-03-26T16:52:19 + 11:00"水平=调试   msg ="从提供商servicefabric收到的配置:   {"后端" {"织物:/acme.Hierarchy/acme.Hierarchy.Service":{"服务器" {" 131665139249762233" :{" URL":" http://localhost:3001""重量":1}},"负载均衡器" {&# 34;方法":" DRR"}},"织物:/ Traefik / Traefik" {"服务器" {" 131665162941723979&#34 ;:{" URL":" http://localhost:8080/""重量":1}},"负载均衡器":{& #34;方法":" DRR"}}}"前端" {"织物:/acme.Hierarchy/acme.Hierarchy.Service" ;: {"入口点":[" HTTP&#34],"后端":"织物:/acme.Hierarchy/acme.Hierarchy.Service" ;, "路线" {" frontend.rule" {"规则":" PathPrefixStrip:   /分层结构"}}," passHostHeader":真,"优先级":0," BASICAUTH":空,"头&#34 ;: {}}}}"   时间=#&34; 2018-03-26T16:52:19 + 11:00" level = info msg ="跳过同样的   供应商servicefabric"的配置   时间=#&34; 2018-03-26T16:52:29 + 11:00" level = info msg ="检查服务   fabric config"时间=#&34; 2018-03-26T16:52:29 + 11:00"水平=调试   msg ="为acme.Hierarchy / acme.Hierarchy.Service找到扩展标签   使用密钥traefik.frontend.rule和值PathPrefixStrip:/ hierarchy"   时间=#&34; 2018-03-26T16:52:29 + 11:00" level = debug msg ="扩展标签   找到acme.Hierarchy / acme.Hierarchy.Service with key   traefik.expose和value true"时间=#&34; 2018-03-26T16:52:29 + 11:00"   level = debug msg ="找到扩展标签   acme.Hierarchy / acme.Hierarchy.Service with key   traefik.frontend.passHostHeader和value true"   时间=#&34; 2018-03-26T16:52:29 + 11:00" level = debug msg ="未找到扩展名   对于Traefik / Traefik"时间=#&34; 2018-03-26T16:52:29 + 11:00"水平=调试   msg ="从提供商servicefabric收到的配置:   {"后端" {"织物:/acme.Hierarchy/acme.Hierarchy.Service":{"服务器" {" 131665139249762233" :{" URL":" http://localhost:3001""重量":1}},"负载均衡器" {&# 34;方法":" DRR"}},"织物:/ Traefik / Traefik" {"服务器" {" 131665162941723979&#34 ;:{" URL":" http://localhost:8080/""重量":1}},"负载均衡器":{& #34;方法":" DRR"}}}"前端" {"织物:/acme.Hierarchy/acme.Hierarchy.Service" ;: {"入口点":[" HTTP&#34],"后端":"织物:/acme.Hierarchy/acme.Hierarchy.Service" ;, "路线" {" frontend.rule" {"规则":" PathPrefixStrip:   /分层结构"}}," passHostHeader":真,"优先级":0," BASICAUTH":空,"头&#34 ;: {}}}}"   时间=#&34; 2018-03-26T16:52:29 + 11:00" level = info msg ="跳过同样的   供应商servicefabric"

的配置

0 个答案:

没有答案