[GH-ISSUE #1366] Can't enable stub_status #6535

Closed
opened 2026-03-01 17:12:52 +03:00 by kerem · 1 comment
Owner

Originally created by @ZenKho-chill on GitHub (Sep 30, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1366

Describe the bug
I am unable to enable stub_status in nginx-ui. Even though Nginx is running normally and the stub_status page works when accessed directly in the browser, nginx-ui does not detect or display stub_status metrics, and there seems to be no way to activate it from the dashboard.

To Reproduce
Steps to reproduce the behavior:

  1. Configure Nginx normally with a stub_status location.
  2. Open nginx-ui dashboard.
  3. Leave StubStatusPort empty in the nginx-ui config.
  4. Observe that stub_status cannot be enabled and no metrics appear.

Expected behavior
nginx-ui should allow enabling stub_status and display metrics such as active connections, accepts, handled requests, etc., similar to accessing the stub_status page directly in a browser.

Screenshots

Image

Info (please complete the following information):

  • Server OS: Ubuntu 24.04.3 LTS x86_64
  • Server Arch: x86_64
  • Nginx UI Version: Nginx UI v2
  • Your Browser: Chrome

Additional context
Nginx is running normally.

Log files exist and are writable.

Running nginx -t passes without errors.

Accessing the stub_status URL directly in a browser works perfectly.

Originally created by @ZenKho-chill on GitHub (Sep 30, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1366 **Describe the bug** I am unable to enable stub_status in nginx-ui. Even though Nginx is running normally and the stub_status page works when accessed directly in the browser, nginx-ui does not detect or display stub_status metrics, and there seems to be no way to activate it from the dashboard. **To Reproduce** Steps to reproduce the behavior: 1. Configure Nginx normally with a stub_status location. 2. Open nginx-ui dashboard. 3. Leave StubStatusPort empty in the nginx-ui config. 4. Observe that stub_status cannot be enabled and no metrics appear. **Expected behavior** nginx-ui should allow enabling stub_status and display metrics such as active connections, accepts, handled requests, etc., similar to accessing the stub_status page directly in a browser. **Screenshots** <img width="1895" height="687" alt="Image" src="https://github.com/user-attachments/assets/c5cff7fa-46d0-4782-8aa0-5bc79f7655c6" /> **Info (please complete the following information):** - Server OS: Ubuntu 24.04.3 LTS x86_64 - Server Arch: x86_64 - Nginx UI Version: [Nginx UI v2](https://github.com/users/0xJacky/projects/1) - Your Browser: Chrome **Additional context** Nginx is running normally. Log files exist and are writable. Running nginx -t passes without errors. Accessing the stub_status URL directly in a browser works perfectly.
kerem 2026-03-01 17:12:52 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Hi @ZenKho-chill,
Can you execute "journalctl -fu nginx-ui" in the terminal, and then try to open the switch in the browser to see what error is displayed in the console?

Thanks!

<!-- gh-comment-id:3354908386 --> @0xJacky commented on GitHub (Oct 1, 2025): Hi @ZenKho-chill, Can you execute "journalctl -fu nginx-ui" in the terminal, and then try to open the switch in the browser to see what error is displayed in the console? Thanks!
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#6535
No description provided.