mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #917] 禁用某个站点后,会自动解析到第一个域名 #6267
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#6267
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 @chung1912 on GitHub (Mar 12, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/917
比如我第一个域名站点是
abc.example.com,另一个站点是xyz.example.com当我禁用
xyz.example.com之后,输入xyz.example.com网址会打开abc.example.com对应的服务(浏览器显示的域名还是xyz.example.com)但是,如果我随意输入一个没有配置过的域名,就是正常无法解析的,网页什么也打不开
版本号是2.0.0-rc.4 (387)
@0xJacky commented on GitHub (Mar 12, 2025):
这很正常,这是 Nginx 的特性。你可以配置 default_server 或者修改配置文件参考 https://github.com/0xJacky/nginx-ui/pull/418/files 进行阻止。