Help configuring NGINX to redirect to cloudron apps
-
Hello everyone,
I have a network at home that works as follows:
I'd like to integrate a Cloudron server to test it out a bit, and adopt it if I like it.
The problem is that I can't integrate Cloudron into my network.
Up to now, I've had several domain names, and depending on which one is used, my NGinx server redirects to the right server.
I naively thought I could do the same with the cloudron server, but that's not the case.
In fact, if my cloudrondomainname.com registration points directly to my cloudron server, and I try to access appname.cloudrondomainname.com, it works perfectly.
However, if cloudrondomainname.com points to NGINX, which points to my cloudron server, I get a page telling me that no app has been installed on this domain name.
I've been fiddling around inside cloudron's internal network, and it's clear that I can't identify the redirection that NGINX would need to do for this to work properly.
Could you help me understand how to integrate cloudron into my network?
-
Cloudron is itself a reverse proxy, so you have an additional one in front of it, which means you need to configure it as such.
Many guides online for that.Another options is to use the Cloudron install and server as a more friendly reverse proxy for your entire network. For any other systems or domains you just set up a proxy app within cloudron that further redirects things properly on your private network.