This is the proxy configuration; the target server is a website that is accessible. demo.zimbar.us.kg
Is this correct or incorrect? I currently cannot access demo.zimbar.us.kg using my domain name.
This means that ports 1180, 1181, and 1443 on the host are mapped to corresponding ports inside the container. Therefore, when configuring inside the container, you should use 80, 81, and 443 for your configuration, and then access the service via ports 1180, 1181, and 1443 on the host.
I want to use laosix.com to proxy traffic to access demo.zimbar.us.kg;
That is, laosix.com resolves to Server A, while the demo.zimbar.us.kg site resolves to Server B.
When you access laosix.com, the request is first relayed through Server A to reach the target address — demo.zimbar.us.kg.
This is because the IP address of the web server for demo.zimbar.us.kg is blocked by the Great Firewall.
If you want to access directly via a domain name, you should set the container to directly map port 80 to 80 and 443 to 443, and avoid using ports like 1180 and 1443.
If you directly map port 80 to 80 and port 443 to 443 for your container, this will affect nginx, right? Doesn’t nginx on the server already occupy these two ports?
I’m looking into how to get this working to see if there’s a way to run multiple sites using CF optimized domains. Currently, CF optimized domains only support a single origin address.