I have the exact same setup and issue from this link Minio install behind Traefik
I was looking to fix this sharing URL actually pointing to some docker intenal URL
Obviously you must tell minio server what domain generated URLs should be pointint at.
But, in case I setup MINIO_SERVER_URL pointing to my domain I get random TLS errors and no certificates from letsencrypt.
There is random cases where I get the console
and server
domain certificates, but then I cannot login by the following error
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
I got the solution for configuring the domain in the MinIO docker container:
Just make these changes in the 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.