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
|
bff83c936d
|
refactor(nginx): 移除代理缓冲区大小设置
-从 proxy_params_file.conf 文件中删除了 proxy_buffer_size 指令
- 此更改旨在简化配置并依赖于 Nginx 的默认缓冲区大小设置
|
2025-06-27 19:13:23 +08:00 |
|
jmal
|
48bede361c
|
refactor(nginx): 优化 Nginx 配置文件
- 移除了不必要的注释行- 将重复的 proxy_set_header 配置替换为 include 文件- 更新了文件路径,使用 /etc/nginx/nginx.conf
- 修正了 X-Forwarded-Host 的值
|
2025-06-27 17:50:30 +08:00 |
|
jmal
|
7065b9a15f
|
refactor/nginx: 重构 Nginx 配置文件并添加代理参数配置
- 更新 Nginx 配置文件路径,使用相对路径以适应容器环境
- 新增 proxy_params.conf 和 proxy_params_file.conf 文件,统一代理参数配置- 优化 Nginx 配置,提高性能和可维护性
- 调整文件上传和缓冲区大小限制,适应大文件传输需求
- 精简配置文件结构,提高可读性
|
2025-06-27 17:31:43 +08:00 |
|