[GH-ISSUE #1347] 现在似乎无法批量管理upstream这种4层的配置 #745

Closed
opened 2026-02-26 12:09:20 +03:00 by kerem · 4 comments
Owner

Originally created by @gpfhaha on GitHub (Sep 8, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1347

现有的stream管理,只可以管理4层的代理。

7层代理的参数无法配置在这里直接使用:
ignored nginx: [emerg] "keepalive" directive is not allowed here in /data/openresty/nginx/conf/streams-enabled/bmp-upstream.conf:3 nginx: configuration file /data/openresty/nginx/conf/nginx.conf test failed exit status 1

Image

7层的只能在每个站点里面管理,但是如果多个站点同时使用相同的上游,就没有一个统一管理上游服务的入口

Image
Originally created by @gpfhaha on GitHub (Sep 8, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1347 现有的stream管理,只可以管理4层的代理。 7层代理的参数无法配置在这里直接使用: ignored nginx: [emerg] "keepalive" directive is not allowed here in /data/openresty/nginx/conf/streams-enabled/bmp-upstream.conf:3 nginx: configuration file /data/openresty/nginx/conf/nginx.conf test failed exit status 1 <img width="688" height="592" alt="Image" src="https://github.com/user-attachments/assets/78c5ca62-265c-4b62-9ace-0186d96c3de8" /> 7层的只能在每个站点里面管理,但是如果多个站点同时使用相同的上游,就没有一个统一管理上游服务的入口 <img width="2454" height="1656" alt="Image" src="https://github.com/user-attachments/assets/8cee21c8-4493-4c34-92be-f4c6ee4d1c5b" />
kerem closed this issue 2026-02-26 12:09:20 +03:00
Author
Owner

@0xJacky commented on GitHub (Sep 8, 2025):

只在其中一个配置文件里定义上游就可以了,这个是 nginx 的配置问题吧?

<!-- gh-comment-id:3265134084 --> @0xJacky commented on GitHub (Sep 8, 2025): 只在其中一个配置文件里定义上游就可以了,这个是 nginx 的配置问题吧?
Author
Owner

@gpfhaha commented on GitHub (Sep 8, 2025):

只在其中一个配置文件里定义上游就可以了,这个是 nginx 的配置问题吧?

也就是说原本的设计,7层的upstream就没有批量管理的概念对吧

<!-- gh-comment-id:3265194746 --> @gpfhaha commented on GitHub (Sep 8, 2025): > 只在其中一个配置文件里定义上游就可以了,这个是 nginx 的配置问题吧? 也就是说原本的设计,7层的upstream就没有批量管理的概念对吧
Author
Owner

@0xJacky commented on GitHub (Sep 8, 2025):

没有的

<!-- gh-comment-id:3265204108 --> @0xJacky commented on GitHub (Sep 8, 2025): 没有的
Author
Owner

@gpfhaha commented on GitHub (Sep 8, 2025):

没有的

好的,感谢

<!-- gh-comment-id:3265243936 --> @gpfhaha commented on GitHub (Sep 8, 2025): > 没有的 好的,感谢
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#745
No description provided.