SSL卸载问题自入店件6.4.12.0以来

发布于 2025-02-12 05:48:40 字数 389 浏览 0 评论 0原文

我们正在CI上的Docker的Apache HTTP Web服务器上运行Shopware 6。然后,Traefik正在执行SSL终止。

现在,在新的Shopware 6.4.12.0设置上,我们有一个问题,即通过https://example.com/admin尝试从http:/http http:/ /example.com/admin

我们认为这是因为Shopware仅看到HTTP连接,并且不知道如何构建正确的URL。

app_url.env中设置为https://example.com

这是6.4.12.0中的新行为吗?如何配置SSL卸载?

We are running Shopware 6 on a Apache HTTP webserver in Docker on our CI. Then Traefik is doing the SSL termination.

Now on a new Shopware 6.4.12.0 setup we have the problem, that the admin interface which is accessed via https://example.com/admin tries to load its resources from http://example.com/admin.

We believe that is because Shopware sees only the HTTP connection and does not know how to construct the right URLs.

APP_URL in the .env is set to https://example.com

Is this a new behavior in 6.4.12.0 ? How can the SSL offloading be configured?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心如狂蝶 2025-02-19 05:48:40

看起来我们只是忘记了.env在新实例上设置

TRUSTED_PROXIES=127.0.0.1,127.0.0.2,172.0.0.0/8

Looks like we simply forgot a .env setting on the new instance

TRUSTED_PROXIES=127.0.0.1,127.0.0.2,172.0.0.0/8
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文