简体   繁体   English

我正在尝试使用 traefik 设置 minio 服务器,但共享 URL 指向内部网络 ip 而不是我的域

[英]I am trying to setup a minio server with traefik but Share URLs are pointing to the internal network ip instead my domain

I have the exact same setup and issue from this link Minio install behind Traefik我从这个链接Minio install behind Traefik有完全相同的设置和问题

I was looking to fix this sharing URL actually pointing to some docker intenal URL我正在寻找修复这个实际上指向一些 docker 内部 URL 的共享 URL

网址未显示我的域

Obviously you must tell minio server what domain generated URLs should be pointint at.显然,您必须告诉 minio 服务器应该指向哪个域生成的 URL。

But, in case I setup MINIO_SERVER_URL pointing to my domain I get random TLS errors and no certificates from letsencrypt.但是,如果我将 MINIO_SERVER_URL 设置为指向我的域,我会收到随机的 TLS 错误,并且没有来自letsencrypt的证书。

There is random cases where I get the console and server domain certificates, but then I cannot login by the following error在随机情况下,我获得了consoleserver域证书,但是由于以下错误而无法登录

登录错误

Hope I can get some insights regarding the amount of time I spent this weekend reading docks and bothering people everywhere 😓希望我能得到一些关于我这个周末花在阅读码头和打扰世界各地人们的时间的见解😓

I tried too many ways to come over this issue and ended with this solution: https://forum.cloudron.io/post/46317我尝试了太多方法来解决这个问题并以这个解决方案结束: https ://forum.cloudron.io/post/46317

I got the solution for configuring the domain in the MinIO docker container:我得到了在 MinIO docker 容器中配置域的解决方案:

Just make these changes in the mino.env只需在 mino.env 中进行这些更改

MINIO_SITE_NAME=*** MINIO_SITE_REGION=*** MINIO_ROOT_USER=*** MINIO_ROOT_PASSWORD=*** MINIO_SERVER_URL=https://api.example.com MINIO_BROWSER_REDIRECT_URL=https://minio.example.com

After implementing the fix, it worked as expected.实施修复后,它按预期工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我不小心删除了 minio 服务器上的图像。 是否可以恢复 minio 备份(有和没有 docker)? - I accidentally deleted my images on minio server. Is it possible to restore minio backup (with and without docker)? 为什么我无法使用 Traefik 路由到我的 API 后端 - Why am I unable to route to my API backend with Traefik 在 X-Forwarded-For 中没有看到真正的 IP 与 Docker 中的 Traefik 的基本设置? - Not seeing the real IP in X-Forwarded-For with the basic setup of Traefik in Docker? 使用Traefik仅在内部网络上公开Docker数据库服务 - Exposing a Docker database service only on the internal network with Traefik Traefik Docker Swarm Unifi 设置无法从域访问 - Traefik Docker Swarm Unifi setup does is not reachable from domain 为什么 Traefik 在后端网络上发现容器 IP 地址? - Why Traefik discovers container IP address on backend network? Traefik 2 - 尝试配置我的第一个容器以使用 traefik - Traefik 2 - Trying to configure my first container to use traefik 主机名 host.docker.internal 指向错误的 IP 地址 - Hostname host.docker.internal is pointing to the wrong IP address 我应该如何在ECS上设置Traefik? - How should I setup Traefik on ECS? Traefik 请求子域特定证书而不是通配符? - Traefik requests sub-domain specific certificate instead of wildcard?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM