Vaadin 23在Traefik反向代理后面

发布于 2025-02-12 21:11:58 字数 651 浏览 2 评论 0原文

我正在寻找一个traefik toml配置文件的示例,以提供新创建的vaadin应用程序。我当前的配置是:

[http]
    # Add the router
    [http.routers]
        [http.routers.esus]
            rule = "Host(`app.acme.com`)"
            service = "esus"
            entrypoints = ["web","websecure"]
            passHostHeader = true
        [http.routers.esus.tls]
            certResolver = "letsencrypt"


    # Add the service
    [http.services]
        [http.services.esus.loadbalancer]
            [[http.services.esus.loadbalancer.servers]]
                url = "http://srvdock01:8086"

这样,我有一个空白屏幕。我想这是由于标头向前配置或Websocket所致。

一些帮助将不胜感激。

问候, 亚历克斯

I'm looking for an example of Traefik toml config file to serve a newly created Vaadin app. My current config is :

[http]
    # Add the router
    [http.routers]
        [http.routers.esus]
            rule = "Host(`app.acme.com`)"
            service = "esus"
            entrypoints = ["web","websecure"]
            passHostHeader = true
        [http.routers.esus.tls]
            certResolver = "letsencrypt"


    # Add the service
    [http.services]
        [http.services.esus.loadbalancer]
            [[http.services.esus.loadbalancer.servers]]
                url = "http://srvdock01:8086"

With that, I've got a blank screen. I suppose that it is due to header forward configuration or maybe websocket.

Some help would be really appreciated.

Regards,
Alex

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文