Hi, im after a little help.
I have a setup where I require my single public IP to serve 3 websites hosted on virtual servers. I am running NGINX on a 4th VM, this is where I am pointing all my port forwards. When I load the external IP, it comes up with the nginx default page.
What I need is to reverse proxy subdomain.mydomain.com.au to vmserver 1, subdomain2.mydomain.com.au to vmserver 2 and subdomain3.mydomain.com.au to vmserver 3
.
I have tried to set up reverse proxy with what I understand to be the config (sites-available/mydomain) with server and proxy pass, but I cannot get it to forward requests. I am also wanting it to listen on both 80 and 443 for each of these servers.
Is there someone out there that is willing to help? I know it wont be a hard fix, but I am not great a ubuntu server and very new to nginx.
Look forward to hearing from someone....
I have a setup where I require my single public IP to serve 3 websites hosted on virtual servers. I am running NGINX on a 4th VM, this is where I am pointing all my port forwards. When I load the external IP, it comes up with the nginx default page.
What I need is to reverse proxy subdomain.mydomain.com.au to vmserver 1, subdomain2.mydomain.com.au to vmserver 2 and subdomain3.mydomain.com.au to vmserver 3
.
I have tried to set up reverse proxy with what I understand to be the config (sites-available/mydomain) with server and proxy pass, but I cannot get it to forward requests. I am also wanting it to listen on both 80 and 443 for each of these servers.
Is there someone out there that is willing to help? I know it wont be a hard fix, but I am not great a ubuntu server and very new to nginx.
Look forward to hearing from someone....