dsh-https-fix
界面增强 活跃维护

dsh-https-fix

MingYU-kalo/dsh-https-fix

内置可配置HTTPS反向代理能力,在插件配置页即可调整代理规则,无需额外部署证书服务即可快速实现各类服务的HTTPS访问适配,开箱即用无需复杂配置。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
None
开源协议
37 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:MingYU-kalo/dsh-https-fix
git clone https://github.com/MingYU-kalo/dsh-https-fix.git
git clone git@github.com:MingYU-kalo/dsh-https-fix.git
README.md main

dsh-https-fix

⚠️ 维护说明:本项目主要服务于作者本人使用。更新频率与作者升级 dsh 新版本深度绑定,统计学上无法预测更新节奏。如有使用需求,请 git 拉取最新版本并自行修复/适配。

DeepSeek Harness (dsh) 插件:为 dsh Web GUI 提供内置 HTTPS 反代与可配置管理

设置 → 插件配置 → Https Fix 中统一管理:

  • 关闭 http 外网访问(默认关;改写 $DSH_HOME/cordis.patch.yml,重启生效)
  • http 端口(默认取 dsh 当前 http 端口;保存自动改写补丁配置,重启生效)
  • HTTPS 开关(默认关,开启前自动校验、通过后自动启动 HTTPS 服务)
  • HTTPS 端口(默认 3081)
  • 域名、监听地址、TLS 证书/密钥路径
  • 「校验 HTTPS 可用性」按钮(端口 / 证书配对 / 域名逐项校验并输出日志)
  • 「保存配置」按钮

详细需求与技术方案见 docs/REQUIREMENTS.md

分支策略

分支 内容
main 最新代码(跟随 dsh 最新版本)
dsh-<版本号> 与特定 dsh 版本兼容的冻结分支,如 dsh-0.1.1-rc.2

安装

本插件未发布到 npm,请从 Git 或本地路径安装。

按 dsh 版本安装对应冻结分支(推荐,与你的 dsh 版本严格对应):

# dsh 0.1.1-rc.2 对应分支
dsh plugin --profile web add github:MingYU-kalo/dsh-https-fix#dsh-0.1.1-rc.2
# 或始终追随最新代码(main,可能超前于你的 dsh 版本)
dsh plugin --profile web add github:MingYU-kalo/dsh-https-fix#main

本地 clone 后自行修改/修复,再从本地路径安装:

git clone https://github.com/MingYU-kalo/dsh-https-fix.git
dsh plugin --profile web add file:./dsh-https-fix

安装完成后重启 dsh web 生效;插件出现在 设置 → 插件配置 → Https Fix。

部署前提

  • 经域名访问时,设置页需要客户端 connection.isLoopback 放行(dsh 客户端门;插件无法自行绕过)。

许可

MIT