infra: 6080 安全直连(nginx HTTPS+BasicAuth 替代裸暴露) #10

Closed
opened 2026-09-29 12:52:19 +08:00 by kenyang · 2 comments
Owner

背景

用户希望随处浏览器直开;裸暴露 6080 是明文+弱口令+root 桌面,不可接受。

方案

nginx 反代 websockify,自签证书+BasicAuth,安全组仅开 443。

验收标准

  • https 直连可用且全程加密
  • BasicAuth 密码非弱口令
  • 6080 对公网保持关闭

Parent

TD 登记册(迭代1)

## 背景 用户希望随处浏览器直开;裸暴露 6080 是明文+弱口令+root 桌面,不可接受。 ## 方案 nginx 反代 websockify,自签证书+BasicAuth,安全组仅开 443。 ## 验收标准 - [ ] https 直连可用且全程加密 - [ ] BasicAuth 密码非弱口令 - [ ] 6080 对公网保持关闭 ## Parent TD 登记册(迭代1)
kenyang added this to the 迭代1 · v0.3.0 milestone 2026-09-29 12:52:19 +08:00
kenyang added the Kind/taskPriority/P2 labels 2026-09-29 12:52:19 +08:00
kenyang self-assigned this 2026-09-29 12:52:19 +08:00
Author
Owner

Node Reference

wechat-ops-iter2/dag — 本工单对应节点 N-03 6080 安全直连

## Node Reference wechat-ops-iter2/dag — 本工单对应节点 N-03 6080 安全直连
Author
Owner

✅ v0.4.1 已实现:nginx TLS+BasicAuth 反代 websockify(6080公网→6081回环),自签证书,htpasswd 哈希认证。实测:公网 https 直连 401/200 正常,明文 HTTP 400 拒绝。安全组 6080 由用户在云控制台放行。

✅ v0.4.1 已实现:nginx TLS+BasicAuth 反代 websockify(6080公网→6081回环),自签证书,htpasswd 哈希认证。实测:公网 https 直连 401/200 正常,明文 HTTP 400 拒绝。安全组 6080 由用户在云控制台放行。
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kenyang/wechat-ops#10