I need help configuring NGINX to act as a reverse proxy for my two nextcloud instances. Each nextcloud is running NGINX as the webserver, and i think i just need to configure one of these to act as the reverse proxy for both? I would like to have my tld domains to be able to work without attaching a unique port to one of them.
Any help would be greatly appreciated.
This is the guide i used to set up my two nextcloud instances.