WebSocket proxying https://nginx.org/en/docs/http/websocket.html

By default, the connection will be closed if the proxied server does not transmit any data within 60 seconds.

Using NGINX as a WebSocket Proxy https://www.nginx.com/blog/websocket-nginx/

The WebSocket protocol is different from the HTTP protocol, but the WebSocket handshake is compatible with HTTP, using the HTTP Upgrade facility to upgrade the connection from HTTP to WebSocket. This allows WebSocket applications to more easily fit into existing infrastructures. For example, WebSocket applications can use the standard HTTP ports 80 and 443, thus allowing the use of existing firewall rules.

Thread pools: implemented graceful exiting of threads. · nginx/nginx@e87a565 https://github.com/nginx/nginx/commit/e87a565aab4da7ade1f016c2bab4371a70998974

By default, the connection will be closed if the proxied server does not transmit any data within 60 seconds. This timeout can be increased with the proxy_read_timeout directive. Alternatively, the proxied server can be configured to periodically send WebSocket ping frames to reset the timeout and check if the connection is still alive.

最新文章

  1. 反射,System.Type类
  2. ehcache2拾遗之copyOnRead,copyOnWrite
  3. oneproxy---为实战而生之安装篇
  4. redis学习(一)
  5. 剑指OFFER之从二叉搜索树的后序遍历序列(九度OJ1367)
  6. JAVA责任链设计模式
  7. urlrewrite使用地址重写
  8. css怎样让背景充满整个屏幕
  9. MySQL数据连表查询思路
  10. 我的Windows日常——你的小电影藏好了吗?
  11. webstorm 2019.1 注册教程
  12. Spring Boot 2.x (十五):Dubbo + Zookeeper + 新版Dubbo Admin
  13. openstack项目【day23】:KVM介绍
  14. 微信出现BUG,发送“ 两位数字+15个句号 ”,双方系统会卡崩……
  15. RMAN入门——简介
  16. AWS服务学习
  17. 编码CODING
  18. Windows 10 正式版原版ISO镜像
  19. 【final】Scrum站立会议第2次....11.20
  20. DataTemplate——数据模板的一个典型例子

热门文章

  1. RxHttp 完美适配Android 10/11 上传/下载/进度监听
  2. 如何对项目中的问题进行分析——FPGA失败案例小结
  3. Qt学习笔记-界面设置入门
  4. H5-地理定位/本地存储/拖放
  5. Reset 对象属性
  6. POLARDB与其他关系型数据库对比
  7. JAVA注解基础知识
  8. 伯俊BOS2.0店铺收入对账功能设计
  9. TurtleBot3 Waffle (tx2版华夫)(1)笔记本上安装虚拟机、 Ubuntu 系统
  10. 第七章节 BJROBOT 选择区域自主构建地图【ROS全开源阿克曼转向智能网联无人驾驶车】