mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #752] Streams configs in the browser are not shown correctly #7517
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#7517
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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.
Info (please complete the following information):
Additional context
Add any other context about the problem here.
@0xJacky commented on GitHub (Nov 23, 2024):
Hi @bitsky6, you should not use the
streamdirective to wrap all your servers. You should put thestreamdirective in nginx.conf like:Next, you can create a config file with multiple servers in
/etc/nginx/stream-available.With these changes, it should work as we expect.