MinIO appkata tutorial doesn't work (with 301 error)?

I am following the appkata tutorial:

I’m using the Dockerfile from the tutorial:

FROM minio/minio
CMD [ "server", "/data", "--console-address", ":9001"]

My minio instance is running successfully at:
I’ve also set the secrets.

However, when I run the command from the tutorial

mc alias set chimu

(I enter the username & password through the CLI), I get the following error: “mc: Unable to initialize new alias from the provided credentials. 301 Moved Permanently.”

Has someone else managed to replicate this / what should I do?

I haven’t used it before but have you tried using the https url? It sounds like the client doesn’t follow redirects automatically, so that could be the http -> https one.