[GH-ISSUE #752] Streams configs in the browser are not shown correctly #6171

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

Originally created by @bitsky6 on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/752

Describe the bug
Frontend is not loading/displaying correctly the Streams configs after saved.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Manage Streams'
  2. Click on 'Any of the streams'
  3. Go to 'Advanced mode'

Expected behavior
After I save the config to show me as it is, currently it flattens it and many of the lines disapears.

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Info (please complete the following information):

  • Server OS: Docker
  • Nginx UI Version: v2.0.0-b40
  • Your Browser: Chrome

Additional context
Add any other context about the problem here.

Originally created by @bitsky6 on GitHub (Nov 22, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/752 **Describe the bug** Frontend is not loading/displaying correctly the Streams configs after saved. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Manage Streams' 2. Click on 'Any of the streams' 3. Go to 'Advanced mode' **Expected behavior** After I save the config to show me as it is, currently it flattens it and many of the lines disapears. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://github.com/user-attachments/assets/5908fdb8-2267-4c88-8d9a-6d138cc8c75f) ![image](https://github.com/user-attachments/assets/4809996b-78ff-43e7-ba46-91336fa84c4f) **Info (please complete the following information):** - Server OS: Docker - Nginx UI Version: v2.0.0-b40 - Your Browser: Chrome **Additional context** Add any other context about the problem here.
kerem closed this issue 2026-03-01 17:10:02 +03:00
Author
Owner

@0xJacky commented on GitHub (Nov 23, 2024):

Hi @bitsky6, you should not use the stream directive to wrap all your servers. You should put the stream directive in nginx.conf like:

http {
   //...
}

stream {
     include /etc/nginx/stream-enabled/*;
}

Next, you can create a config file with multiple servers in /etc/nginx/stream-available.

With these changes, it should work as we expect.

<!-- gh-comment-id:2495458105 --> @0xJacky commented on GitHub (Nov 23, 2024): Hi @bitsky6, you should not use the `stream` directive to wrap all your servers. You should put the `stream` directive in nginx.conf like: ``` http { //... } stream { include /etc/nginx/stream-enabled/*; } ``` Next, you can create a config file with multiple servers in `/etc/nginx/stream-available`. With these changes, it should work as we expect.
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#6171
No description provided.