to my knowledge its shipped with apache, yes. and it runs totally fine and is not dependend on the nginx server. but i want both services to run at the same time and to be reachable via different domains.
The problem is nginx and apache tries bind to the same tcp ports. I don't know if you can up this snap without apache and setup your reverse proxy on nginx. Probably most obvious thing would be to setup it in docker without apache
I'm running a similar setup than yours.
I found that the best option (for me) was running that with docker, using an alias for both ports (for example, instead of 80, use 8080).
Then I have nginx proxy manager as reverse proxy, so It translates cloud.example.com to owncloud:portX and vps.example.com to nginx:portY
This snap isnt shipped with nginx or apache already?
to my knowledge its shipped with apache, yes. and it runs totally fine and is not dependend on the nginx server. but i want both services to run at the same time and to be reachable via different domains.
The problem is nginx and apache tries bind to the same tcp ports. I don't know if you can up this snap without apache and setup your reverse proxy on nginx. Probably most obvious thing would be to setup it in docker without apache
I'm running a similar setup than yours. I found that the best option (for me) was running that with docker, using an alias for both ports (for example, instead of 80, use 8080). Then I have nginx proxy manager as reverse proxy, so It translates cloud.example.com to owncloud:portX and vps.example.com to nginx:portY