'The program cannot operate MinIO on Rancher through the API

I installed MinIO on the Docker of local computer.

Through MinIO's address (EX: https://192.168.95.10), use API operations to upload files, list file names and other functions.

Note that this URL address is https not http, And this is where the problem arises.

What I want to express here is that in the local environment,it is possible to use the API to operate MinIO through https.

--

Before I started MinIO's https, it was normal for me to use the API to operate MinIO in Rancher. However, after enabling https, you cannot use the API to operate MinIO.

In Rancher there is a feature called ingress, It accepts external requests and forwards them to my MinIO container.

For example my ingress is: http://ingress-minio.xxx.com, This ingress is public. My program is to configure it and use it to operate MinIO. And this ingress will forward the request to my MinIO (for example, the address is: http://10.10.1.1:9000).

http://ingress-minio.xxx.com forwarded to →→→→ http://10.10.1.1:9000

But after MinIO enables HTTPS, the URL of MinIO to use the API must be changed to the URL of HTTPS. And I suspect that ingress forwarding my request is still forwarding to the HTTP URL, not HTTPS, so I can't operate MinIO

Don't know if my suspicion is correct? If it is correct, please help me how to solve this problem? If it is not correct, please help me to analyze what is the reason why I cannot operate MinIO on Rancher?

Thanks everyone.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source