1Panel-dev / 1Panel-dev/1Panel

[Feature] Support connecting OpenResty to backend services

Open
#13,824 1 comment 0 reactions 1 assignee View on GitHub

@wanghe-fit2cloud is already working on this.

Since Sep 15, 2026.

type: optimization
Dominant language
Go
Stars
37k
Forks
3.4k
Avg merge
9h 16m
Merged PRs (30d)
105

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.