mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #1343] Setup Nginx UI with custom Nginx instance #3845
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#3845
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 @Mqxx on GitHub (Sep 5, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1343
Describe the bug
Setup Nginx UI with custom Nginx instance does not work...
To Reproduce
Steps to reproduce the behavior:
http://<your_server_ip>:8080http://<your_server_ip>:9080, the custom instance of Nginx is running fineExpected behavior
There should be no errors and the NginxUI should work with the privided instance specified by the environment variable
NGINX_UI_NGINX_CONTAINER_NAMEInfo (please complete the following information):
Images:

Additional context
Is there any tutorial or guide on how to setup this? Am I doing something wrong?
My
compose.ymlfile:@0xJacky commented on GitHub (Sep 18, 2025):
It seems that the environment variables were not configured correctly, causing nginx-ui to be unable to locate your nginx.
@Mqxx commented on GitHub (Sep 21, 2025):
How could they configured incorrectly? The only environment variable that I am using is
NGINX_UI_NGINX_CONTAINER_NAME=nginx-serviceas described. So I expect it to work like this. Also are there any other variables that I need/can set?@Mqxx commented on GitHub (Oct 9, 2025):
@0xJacky