# HAProxy 反代 WebSocket 断流怎么排查

- 版块：技术
- 原文：http://23.95.248.26:8090/post-424-1
- 发布时间：2026/10/10 02:09:20（UTC+8）
- 第 1 / 50 页

---

## #0 shell67 · 2026/10/10 02:09:20

http://23.95.248.26:8090/post-424-1#0

之前一直没注意，今天才发现。

有同样需求的可以一起交流，欢迎补充。

如果只是放个博客，其实没必要上太高的配置，1C1G 足够。

如果只是放个博客，其实没必要上太高的配置，1C1G 足够。

## 配置

```nginx
location /ws {
    proxy_pass http://127.0.0.1:8080;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
}
```

参考：https://example.com/docs/HAProx

---

## #1 kernel676 · 2026/10/10 04:25:58

http://23.95.248.26:8090/post-424-1#1

帮顶

---

## #2 proxy653 · 2026/10/10 06:42:35

http://23.95.248.26:8090/post-424-1#2

学习了

---

## #3 山码农 · 2026/10/10 08:59:13

http://23.95.248.26:8090/post-424-1#3

不错不错

---

## #4 野主机 · 2026/10/10 11:15:50

http://23.95.248.26:8090/post-424-1#4

线路怎么样？晚高峰能跑满吗

---

## #5 林行者 · 2026/10/10 13:32:28

http://23.95.248.26:8090/post-424-1#5

线路怎么样？晚高峰能跑满吗

---

## #6 山码农 · 2026/10/10 15:49:06

http://23.95.248.26:8090/post-424-1#6

这个价格可以的

---

## #7 川路人 · 2026/10/10 18:05:43

http://23.95.248.26:8090/post-424-1#7

前排

---

## #8 orbit271 · 2026/10/10 20:22:21

http://23.95.248.26:8090/post-424-1#8

@kernel676 #1 不错不错

---

## #9 风散人 · 2026/10/10 22:38:58

http://23.95.248.26:8090/post-424-1#9

这个价格可以的

---

## #10 admin · 2026/10/11 00:55:36

http://23.95.248.26:8090/post-424-1#10

个人建议还是上 Caddy，配置简单，证书自动续签，省心很多。
