[GH-ISSUE #1333] 在 Dashboard 中 Nginx-Module 页面无法获取信息 #5171

Closed
opened 2026-03-01 15:39:59 +03:00 by kerem · 3 comments
Owner

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

Describe the bug
在标题中所述的页面中,在重新使用新的参数编译nginx后,如果不重启nginx-ui,那么所显示的模组信息仍然是重新编译之前的。点按页面中的刷新按钮也没有用处。
To Reproduce
Steps to reproduce the behavior:

  1. 使用新参数编译nginx
  2. 查看标题所述页面
  3. 仍然为老参数

Expected behavior
应当显示新参数

Screenshots

Image

Info (please complete the following information):

  • Server OS: Debian 13.0
  • Server Arch: x64
  • Nginx UI Version: 2.1.17
  • Your Browser: Edge
Originally created by @Purgepyro on GitHub (Sep 1, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1333 **Describe the bug** 在标题中所述的页面中,在重新使用新的参数编译nginx后,如果不重启nginx-ui,那么所显示的模组信息仍然是重新编译之前的。点按页面中的刷新按钮也没有用处。 **To Reproduce** Steps to reproduce the behavior: 1. 使用新参数编译nginx 2. 查看标题所述页面 3. 仍然为老参数 **Expected behavior** 应当显示新参数 **Screenshots** <img width="2009" height="1294" alt="Image" src="https://github.com/user-attachments/assets/6412ce00-e66f-413e-b4ae-f0e60c184911" /> **Info (please complete the following information):** - Server OS: Debian 13.0 - Server Arch: x64 - Nginx UI Version: 2.1.17 - Your Browser: Edge
kerem 2026-03-01 15:39:59 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

是的,需要重启才能重新加载

<!-- gh-comment-id:3240621649 --> @0xJacky commented on GitHub (Sep 1, 2025): 是的,需要重启才能重新加载
Author
Owner

@MSTWHD commented on GitHub (Sep 17, 2025):

确实,我当时还以为我编译错了,试了几次,最后发现要重启nginx-ui才行

<!-- gh-comment-id:3301762873 --> @MSTWHD commented on GitHub (Sep 17, 2025): 确实,我当时还以为我编译错了,试了几次,最后发现要重启nginx-ui才行
Author
Owner

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

v2.1.17 目前其实是有做如果 Nginx PID 发生变化,就认为他重启了,就会触发缓存重新构建。因为解析这个 modules 的开销不小的,做成实时的话不太划算,生产环境中也不会频繁调整 modules 吧

但是如果说 PID 文件本身就是空的或者不存在,那这确实可能没办法自动更新,我会考虑增加个手动更新的按钮。

<!-- gh-comment-id:3308045223 --> @0xJacky commented on GitHub (Sep 18, 2025): v2.1.17 目前其实是有做如果 Nginx PID 发生变化,就认为他重启了,就会触发缓存重新构建。因为解析这个 modules 的开销不小的,做成实时的话不太划算,生产环境中也不会频繁调整 modules 吧 但是如果说 PID 文件本身就是空的或者不存在,那这确实可能没办法自动更新,我会考虑增加个手动更新的按钮。
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#5171
No description provided.