1Panel-dev / 1Panel-dev/1Panel
[Feature] Website Reverse Proxy - Add advanced parameter configuration and monitoring for load balancing
Open
@wanghe-fit2cloud is already working on this.
Since Aug 25, 2026.
type: feature-request
- Dominant language
- Go
- Stars
- 37k
- Forks
- 3.4k
- Avg merge
- 9h 16m
- Merged PRs (30d)
- 105
Description
Discussed in https://github.com/1Panel-dev/1Panel/discussions/13633
Originally posted by QINFENGSHUN August 24, 2026
当前1Panel网站负载均衡仅支持选择算法:轮询、加权轮询、ip‑hash、最少连接
缺少upstream高级配置项,在部署网盘、长连接、大文件上传业务时很不方便
需要增加的配置项
- upstream 参数可视化填写:
- max_fails:最大失败次数
- fail_timeout:故障节点隔离时间
- keepalive:后端长连接数量(非常关键,提升并发性能)
- 增加后端节点状态展示:节点是否健康、连接会话数统计面板;
- 支持节点临时维护下线
down标记;
使用场景举例
部署Cloudreve网盘多实例,使用ip‑hash会话粘滞,分片上传业务依赖keepalive长连接,同时需要故障自动隔离后端节点
目前面板图形化无法填写这些参数,只能手动修改容器内nginx.conf主配置,升级OpenResty容器配置有丢失风险,对普通用户门槛很高
期望方案
在网站反向代理‑负载均衡页面,折叠高级设置,开放上面参数输入框;同时增加后端节点状态监控
补充
OpenResty为docker容器部署,用户无法直接修改容器内配置文件,手动改配置步骤繁琐,很容易出现语法错误导致全部网站宕机
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.