The simplest solution is to modify Nginx's configuration file:
This is the correct configuration of nginx. Where the proxy server set is titled host server port; Set the forwarding port. This line is the key.