OMV 5 + HA in Docker + NextCloud

Hello

I just setup new instalation of OMV 5 on Debian 10. I also made clean Home Assistant installation in Docker. Then I configured Letsencrypt Addon and NGINX Addon to be able to access my Home Assistant with my sub-domain: https://home.example.com

Everything works fine. But now I would like to install NextCloud on my OMV 5 and configure it to work from sub-domain https://cloud.example.com

The problem is I cannot find in /etc/nginx/ any info about home assistant and if I would like to start NextCloud it fails because it works on same port with Home Assistant (listen 443/80).

I can stop NGINX Addon in Home Assistant and restart nginx service in ssh, in this case my nextcloud will work fine, but my home assistant is not accessible from external network. If I start Nginx Addon in HA - I can access from my subdomain, but cloud is off…

Is there any guide or example how can I setup it?

Can somebody help me?

Run NPM (Nginx Proxy Manager) addon instead, it doesn’t need the Let’s encrypt separate addon, however you might want to install DuckDNS addon in order to be able to have same IP pointing to example.com, subdomain.example.com and example.com/folder case your ISP keeps renewing your IP address.

Not using OMV but you will be able to reverse proxy any service whatsoever, without being limited to HA (as is the case with the regular Nginx Home Assistant SSL Proxy Addon). Port 443 is forwarded to NPM and for NC you can use regular 80 for the communication between NPM and NC.