[GH-ISSUE #248] REST/gRPC API key for user #4563

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

Originally created by @alex-ac-ir on GitHub (Jan 6, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/248

Frontend is not always a way to manage vhosts in Nginx UI, I have some other projects that it would be nice to integrate with a tool that parse and manage nginx configs and do not write own parsers.

But for now, even if I'll use a POST request to have auth in NGINX UI and use some requests that are making frontend to backend, I still feeling a luck of quick and easy method to have a list of server_name of all "Sites". To have some, I should iterate all "Sites" to have a server_name for every of them. So please consider, maybe an API could be a nice addition for a project.

Originally created by @alex-ac-ir on GitHub (Jan 6, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/248 Frontend is not always a way to manage vhosts in Nginx UI, I have some other projects that it would be nice to integrate with a tool that parse and manage nginx configs and do not write own parsers. But for now, even if I'll use a POST request to have auth in NGINX UI and use some requests that are making frontend to backend, I still feeling a luck of quick and easy method to have a list of server_name of all "Sites". To have some, I should iterate all "Sites" to have a server_name for every of them. So please consider, maybe an API could be a nice addition for a project.
kerem 2026-03-01 15:34:17 +03:00
Author
Owner

@0xJacky commented on GitHub (Jan 6, 2024):

Hi, you can upgrade to v2.0.0-rc, we add a settings of NodeSecret in the server section of app.ini. You can request the backend with the header X-Node-Secret, this can also be used to auth in Nginx UI.

<!-- gh-comment-id:1879650050 --> @0xJacky commented on GitHub (Jan 6, 2024): Hi, you can upgrade to v2.0.0-rc, we add a settings of `NodeSecret` in the server section of app.ini. You can request the backend with the header `X-Node-Secret`, this can also be used to auth in Nginx UI.
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#4563
No description provided.