<p>I'm using minio in Kubernetes and it works great. However, I can't seem to to change the domain and protocol for a pre-signed URL. Minio keeps giving me <code>http://minio.test.svc:9000/delivery/</code> where as I want <code>https://example.com/delivery</code>. I've tried setting <code>MINIO_DOMIN</code> in the pod but it seems to have not effect; I think I'm misusing this var anyway.</p>

<p>I bashed my head on this problem for a couple of days and managed to resolve it with NGINX in my Kubernetes cluster.</p>
<p><a href="https://stackoverflow.com/questions/64815229/nginx-controller-kubernetes-need-to-change-host-header-within-ingress">NGINX controller Kubernetes: need to change Host header within ingress</a></p>
<p>You use the ingress annotations to change the Host header of all incoming traffic to your Minio ingress so that it will always be the same Host name.</p>
