Traefik在保留URL时重写为https

时间:2018-04-20 14:18:19

标签: docker docker-compose traefik

我想将所有http请求重写为https。 问题是

[entryPoints]
  [entryPoints.http]
  address = ":80"
    [entryPoints.http.redirect]
    entryPoint = "https"

不会保留整个网址,而且regex / replace不起作用,因为我需要使用

PathPrefixStrip

还有其他可能的方法来实现我的目标吗?

0 个答案:

没有答案