Commit Graph

6 Commits

Author SHA1 Message Date
kingecg da05fe2b3d chore: update module path to git.kingecg.top 2025-06-26 01:05:19 +08:00
kingecg de1bbbfb7b chore: update module path to git.kingecg.top 2025-06-25 23:54:32 +08:00
kingecg c290c98bae chore: update module path to git.kingecg.top 2025-06-25 22:53:18 +08:00
kingecg 84960de4a6 feat(server): 优化服务器配置和日志记录
- 修改 www.teststatic.com 的端口为 8000
- 新增 www.a.com 的配置文件
- 更新 www.teststatic.com 的服务器配置,使用数组形式
- 在 LocalCertManager 中添加日志记录
- 优化 ServerManager 中的匹配逻辑,增加日志输出
2025-06-24 07:46:57 +08:00
kingecg eb64db6b30 feat(ssl): 实现自定义证书管理器并更新服务器配置
- 新增 LocalCertManager 结构体,实现自定义证书管理逻辑
- 更新服务器配置,支持自动 SSL 和 HTTP/2
- 修改证书缓存目录和服务器启动日志
- 更新测试静态网站配置,启用 SSL 并修改端口
- 调整 http-jump 配置,指向新的测试静态网站地址
2025-06-24 07:12:11 +08:00
程广 6c43f6ce59 feat(server): 添加自动 SSL 证书管理功能
- 新增 autossl 包,用于管理 SSL 证书
- 在 server/manager.go 中集成自动 SSL 证书管理
- 修改 utils/util.go,增加 NormalizePathWithR 函数以支持相对路径规范化
- 更新 model/model.go,为 HttpServerConfig 添加 EnableSSL 字段和 ConfPath 字段
- 修改 gohttp.go,支持从配置文件加载服务器配置
2025-06-13 17:49:04 +08:00