I'm having some issues with getting nginx setup properly to reverse-proxy an external site.
For example, let's say I have domainA.com which is being hosted in Hong Kong, with an IP address terminating in Hong Kong. I want to change in DNS the IP of domainA.com to my nginx server and reverse-proxy this traffic back to Hong Kong from here in the USA.
I want to do this for about 10 different domains.
I'm having a few issues where some hosting services using cpanel doesn't like the reverse-proxy request for domainA.com, but it could be my jacked up configuration.
Can someone provide me an example that would work in a basic sense for multiple domains?
Thanks in advance.
Shane