This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
最后发现了。原因是在Traefik路线中。我使用的是“主机(
example.com” rel =“ nofollow noreferrer”> https://github.com/traefik/traefik/pull/7008 。主机的检查既是标题主机检查和服务器名称指示。如果切换到“ Hostheader(
example.com
)”仅检查标题主机,这足以适合Nginx代理。Figured it out in the end. The reason is in the traefik routes. I was using "Host(
example.com
)" which is not enough due to changes made in this PR https://github.com/traefik/traefik/pull/7008. The check for Host is both the header host check and the server name indication. If switched to "HostHeader(example.com
)" only header host is checked, which is enough for the nginx proxy.