How to connect to self-hosted s3 bucket such as minio

Hi,

I have a s3 bucket hosted by myself using minio.
When trying to connect with the ios cryptomator app, it keeps saying it cannot connect with my custom url such as https://s3.mydomain.com.

I also tried to format the url such as https://mybucket.s3.mydomain.com but it still refuse to connect.

Can you let me know what is the correct step to connect or is there any documentations I can find? I am also able to use a lot of third parties to connect but not cryptomator on ios.

Thanks!