Open pax-k opened 1 year ago
I'm using it with minio, and it working fine:
deploy:
labels:
caddy_0: minio.mydomain.com
caddy_0.reverse_proxy: "{{upstreams 9000}}"
caddy_1: minio-console.mydomain.com
caddy_1.reverse_proxy: "{{upstreams 9001}}"
Maybe is something specific of your application @pax-k
How can I proxy multiple ports of the same container to different subdomains?
Currently I'm proxying just one of the exposed ports, but I would like to proxy the second port as well, on a different subdomain.
If not possible on a different subdomain, at least on a different path, or the same subdomain but indicating the port.
Anyway https://subdomain-1.myhost.com should always resolve to 1001
How could I proxy 1002 without spinning a second container ?
Thank you!
LATER:
I was partially able to proxy it like this:
But the service running on https://subdomain-2.myhost.com now says "This server only accepts secure HTTPS connections.", even if I'm on HTTPS.