Hi all. Hopefully an easy question to answer.
I have two webservers behind a NAT. One is ERPNext. ERPNext obviously on Nginx. The other Apache. The apache is on a custom port so that I can access from outside the NAT using port forwarding. I would like to bring it back to 443 so that I can close as many ports as possible on the Firewall. Also neater not having to enter the port number.
Nginx from my understanding is very good at reverse proxying. Wondering if there is an easy way to forward a domain to the second server?
Second server also has an SSL certificate. Not sure if the Bench server should host this or the end server? Preferably the Bench server so renewals are one process. Would just need to point DNS behind the NAT so both domains point to the ERPNext server.
Thanks in advance.