I had the same issue. In my case Minio is installed on a Synology NAS, and I use a Reverse Proxy to use my Synology subdomain (full details on the specific setup, including domain used and reverse proxy at this link)
I managed to have a working installation by using the following Docker compose:
version: '3'
services:
minio:
image: minio/minio
ports:
- "9777:9777"
- "9701:9701"
volumes:
- /volume1/docker/minio/data:/data
- /volume1/docker/minio/config:/root/.minio
environment:
MINIO_ROOT_USER: YourOwnUser
MINIO_ROOT_PASSWORD: YourOwnPasswd
MINIO_BROWSER_REDIRECT_URL: "https://mc.yoursub.synology.me"
#MINIO_SERVER_URL: "https://minio.yoursub.synology.me"
MINIO_API_DISABLE_ODIRECT: "on"
command: server --address ":9777" --console-address ":9701" /data
I had to comment out the environment variable MINIO_SERVER_URL
, and only use the MINIO_BROWSER_REDIRECT_URL
one with the URL for Minio Console (which is the one you use when you login from the browser...the other one is for the API). It mostly works, but I cannot manage to display the files from the Object Browser. The Python client works seamlessly from the Internet and the local network. Hope it helps!