1Panel Version
2.3.0
Please describe your needs or suggestions for improvements
您好,我们在调用 AI 绘图接口(POST /v1/images/generations)时,只要后端生成耗时稍长,就会在刚好 60 秒时准时断开并报 504 Gateway Timeout。
目前我们在网关全局配置中尝试调整连接保活参数无法解决该问题。经排查,根本原因在于反向代理层缺少对后端响应超时的显式放宽,默认走了 Nginx/OpenResty 的 60s 硬超时。能否在网站-后台界面开放配置选项?
1 分钟是因为我改了配置后恢复。
Please describe the solution you suggest
No response
Additional Information
No response
1Panel Version
2.3.0
Please describe your needs or suggestions for improvements
您好,我们在调用 AI 绘图接口(POST /v1/images/generations)时,只要后端生成耗时稍长,就会在刚好 60 秒时准时断开并报 504 Gateway Timeout。
目前我们在网关全局配置中尝试调整连接保活参数无法解决该问题。经排查,根本原因在于反向代理层缺少对后端响应超时的显式放宽,默认走了 Nginx/OpenResty 的 60s 硬超时。能否在网站-后台界面开放配置选项?
1 分钟是因为我改了配置后恢复。
Please describe the solution you suggest
No response
Additional Information
No response