9月14

使用Nginx对Websocket进行反向代理

| |
14:42编程杂谈  From: 本站原创

  location / {
      proxy_http_version 1.1;    
      proxy_set_header Upgrade $http_upgrade;    
      proxy_set_header Connection "Upgrade";    
      proxy_set_header X-real-ip $remote_addr;
      proxy_set_header X-Forwarded-For $remote_addr;
      proxy_pass http://localhost:6633/;
    }

来源:Heck's Blog
地址:https://www.heckjj.com/post/514/
转载时须以链接形式注明作者和原始出处及本声明,否则将追究法律责任,谢谢配合!
阅读(33) | 评论(0) | 引用(0)