How to reverse proxy nginx to other public network IP

  1. proxy server A _ Magi IP is 192. 168.31.3, configure nginx.
  2. website 1, deployed on the same local area network server as A, with the address http://192.168.31.4:8180
  3. website 2, deployed on other servers, not on the same local area network as server A, website address: http://139.139.8.34:8182( public network)

nginx configuration

  https://test2.xxx.com access ? 

Jun.11,2021

Let me first ask
your https://test2.xxx.com
also points to 192.168.31.3


Boss. Can you give me some advice on this question?

Menu