Open DilLip-Chowdary-Codes opened 1 year ago
Hey, where you able to solve this issue? I'm facing the same and didn't realize how to use https-portal for several containers, even using reverse-proxy it's failing.
Any hint? Thanks in advance.
Can we add more containers in the same host, something like modifying the ports (9443 instead of 443, 9080 instead of 80)
No. Let's Encrypt (where we get the HTTPS certificate from demands the port to be 80 and 443). But you can use two different domains, both listening on 80 and 443. For example:
environment:
DOMAINS: 'test.domain.in -> 10.20.3.1:8222, test2.domain.in -> 10.20.1.2:8333'
Nice, I tried to run an isolated https-portal per docker-compose file, now I've deployed a separated container only for ssl + reverse proxy for all my apps and worked pefectly. I guess it was the expected way to use but wasn't very clear for me.
So many thanks.
@SteveLTN
Can we add more containers in the same host, something like modifying the ports (9443 instead of 443, 9080 instead of 80)
Like below:
Default Container:
Additional Container:
is this ok, or we will face any issues in the future while updating the certs, etc?