Socket.io + NodeJS + Nginx + SSL

前端 未结 1 1063
鱼传尺愫
鱼传尺愫 2020-12-21 08:57

My socket does not connect when I am using Nginx. My config file is:

server {
    listen 80;
    return 301 https://$host$request_uri;
}

server {
    listen         


        
相关标签:
1条回答
  • 2020-12-21 09:10

    Seems like there's missing listen 443 ssl;

    0 讨论(0)
提交回复
热议问题