Chinaunix首页 | 论坛 | 博客
  • 博客访问: 39125
  • 博文数量: 20
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 199
  • 用 户 组: 普通用户
  • 注册时间: 2015-03-04 08:17
文章分类

全部博文(20)

文章存档

2015年(20)

我的朋友

分类: LINUX

2015-04-24 20:03:57

nginx as webserver incl. socket.io and node.js / ws:// 400 Bad Request


location ~ ^/socket
    {
        proxy_pass
        proxy_redirect off;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $http_host;
    }




阅读(2678) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

suyuwen12015-10-21 16:49:44

nodejs+socket.io用nginx反向代理提示400 Bad Request及ws://…无法连接如何解决
http://www.ihref.com/read-17237.html

suyuwen12015-10-21 16:49:40

nodejs+socket.io用nginx反向代理提示400 Bad Request及ws://…无法连接如何解决
http://www.ihref.com/read-17237.html