Skip to content

[Feature] Support connecting OpenResty to backend services #13824

Description

@xiaokun567

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions