MingYU-kalo/dsh-https-fix ↗★ 2
dsh-https-fix
DeepSeek Harness 插件:内置 HTTPS 反向代理与统一配置管理。在 设置→插件配置→Https Fix 中配置关闭 http 外网访问、http/https 端口、域名、TLS 证书密钥路径,并提供校验与保存。Built-in HTTPS reverse proxy for dsh Web GUI with in-app configuration (block external http, http/https ports, domain, TLS cert/key) plus validate & save actions. 适合需要为DSH Web GUI配置安全HTTPS访问、证书及登录校验的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MingYU-kalo/dsh-https-fixREADME
Read the full README ↗功能一览(都在卡片里配置,一行一个设置)
- HTTPS 反代:插件自己监听 TLS,反代到
127.0.0.1:,不依赖 nginx - 受信域名:运行时把域名/IP 注册进
trustedHosts,不用改 dsh 启动参数 - 客户端热补丁:一键给 dsh 的
connection.isLoopback打豁免(含还原),让经域名/IP 访问的设置页可用 - TLS 证书:自动自签(含公网 IP,无域名也能用)或填自己的 cert/key 路径(Let's Encrypt 的 IP 证书也行)
- Web 账密登录:默认开启;账号明文保存、密码只存 SHA-256;会话 7 天;只作用于插件端口
- 访问与安全:关闭 http 外网访问、自动模式(网页 token)、http 端口、核对版本号(不一致拒绝启动 HTTPS)
- 诊断:「校验 HTTPS 可用性」(12 项,含登录项)、「一键打热补丁」「还原补丁」