阿神2017-04-17 15:59:07
nginx cannot connect to your nodejs program. Can you netstat -nptl
see if it's listening?
There is no problem with this configuration locally
Then what’s the problem?
PS:
proxy_set_header Connection "";
What do you want to do?
PPS: nodejs is local, no need to use HTTPS anymore. There is no point in encrypting and then decrypting it with nginx, it is just a waste of CPU.