5 Commits

Author SHA1 Message Date
jmal
810ae5f48f fix(docker): 优化域名解析和 Nginx 配置
- 添加循环检查 jmalcloud 主机名解析的功能,确保域名可用再启动 Nginx
-从 Nginx 配置中移除不必要的 DNS 解析设置 (resolver 指令)
2025-07-02 10:19:25 +08:00
jmal
bf64ee0eb6 perf:禁用 IPv6 解析
- 在 nginx 配置文件中添加 ipv6=off 参数
- 优化 DNS 解析性能,避免不必要的 IPv6 查询
2025-07-02 10:02:09 +08:00
jmal
e77a2c69fb feat(nginx): 为 nginx配置添加 Docker 内部的DNS 解析服务器- 在 nginx.conf.template 和 nginx.conf.no_office.template 文件中添加了 resolver 配置
- 设置 DNS服务器为 127.0.0.11,缓存时间为 30 秒
2025-07-02 09:58:15 +08:00
jmal
3ee4a1ef2f feat(nginx): 丰富代理参数并支持自定义配置
- 在 office 代理配置中添加了自定义文件 proxy_params_file.conf 的包含
- 更新了 proxy_params.conf,增加了多个新的代理头参数,包括:
  - X-Forwarded-Proto 使用变量 $the_scheme - X-Real-PORT - Scheme
  - Server-Protocol
  - Server-Name - Server-Addr
  - Server-Port
2025-06-27 19:43:27 +08:00
jmal
7065b9a15f refactor/nginx: 重构 Nginx 配置文件并添加代理参数配置
- 更新 Nginx 配置文件路径,使用相对路径以适应容器环境
- 新增 proxy_params.conf 和 proxy_params_file.conf 文件,统一代理参数配置- 优化 Nginx 配置,提高性能和可维护性
- 调整文件上传和缓冲区大小限制,适应大文件传输需求
- 精简配置文件结构,提高可读性
2025-06-27 17:31:43 +08:00