I have a NCP docker running on my machine. I configured the service of let’s encrypt to access the Nextcloud securely with https and it’s working great.
I also have other docker containers running on the same machine, example Home Assistant, and I want to be able to access those also with https though on a different port.
Can I use the same let’s encrypt certificates done inside NCP to access via https the services on other containers?
Example of access services running on the same machine:
https://my-domain.com → accesses Nextcloud (ports 443, and 80)
https://my-domain.com:8123 → accesses Home Assistant
https://my-domain.com:1234 → accesses another docker container service in same machine
Would this be possible?