mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #1378] Site里面不显示网站 #766
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#766
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 @Purgepyro on GitHub (Oct 5, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1378
Describe the bug
Dashboard下的Site里面显示Sites will appear here once you configure nginx server blocks with valid server_name directives. 实际上我已经设置了一些网站,但是没有任何显示。
To Reproduce
Steps to reproduce the behavior:
Expected behavior
应该像 Site list 里面那样显示
Screenshots
Info (please complete the following information):
@0xJacky commented on GitHub (Oct 6, 2025):
站点是内网的地址吗
@Purgepyro commented on GitHub (Oct 6, 2025):
反向代理的127.0.0.1
@0xJacky commented on GitHub (Oct 6, 2025):
server_name 是公网ip 或者域名吗
@Purgepyro commented on GitHub (Oct 6, 2025):
是的
@0xJacky commented on GitHub (Oct 6, 2025):
正常来说应该会解析出域名或者 ip 的,方便发一下配置文件吗
@Purgepyro commented on GitHub (Oct 6, 2025):
include ws.conf;
server {
server_name nui.visax.net;
include common.conf;
location / {
proxy_pass http://127.0.0.1:9000/;
include proxy.conf;
}
}
@0xJacky commented on GitHub (Oct 6, 2025):
应该是 include common.conf; 导致没有解析出 listen port,然后被忽略了
@Purgepyro commented on GitHub (Oct 6, 2025):
我来试一下把 common 里面的东西丢进去
@0xJacky commented on GitHub (Oct 6, 2025):
然后改完可以重启一下 nginx-ui,这个版本有点小问题,缓存没有自动刷新
@Purgepyro commented on GitHub (Oct 6, 2025):
@Purgepyro commented on GitHub (Oct 8, 2025):
这个不准备管他了吗