node.js - nginx 配置 https 502错误
怪我咯
怪我咯 2017-04-17 15:57:07
0
1
308
怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
阿神

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template