I haven't a VPN in china ?
Well,
502 Bad Gateway
The server was acting as a gateway or proxy and received an invalid response from the upstream server.[58]
502 is something nginx shows often when there's some kind of mis-configuration.
You've posted some kind of log file, is it possible to post the error.log? Likely located in /var/log/nginx/error.log