mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #708] 为什么部署好docker 后,网站访问不了? #7483
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#7483
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 @a506488043 on GitHub (Nov 9, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/708
Docker 部署好,网站添加,刚开始能正常访问。后面就都不能访问了?这是什么情况?

偏好设置,监听主机是空的,跟这个有关系吗?怎么解决?
@0xJacky commented on GitHub (Nov 10, 2024):
请提供日志,谢谢
@a506488043 commented on GitHub (Nov 10, 2024):
怎么提供日志?日志的文件路径是nginx的吗
@0xJacky commented on GitHub (Nov 10, 2024):
请提供以下信息:
@a506488043 commented on GitHub (Nov 10, 2024):
nginx_ui.log
@0xJacky commented on GitHub (Nov 10, 2024):
nginx ui,可以正常访问?但是自己的站点不能访问吗
@a506488043 commented on GitHub (Nov 10, 2024):
怎么时好时坏的?

@0xJacky commented on GitHub (Nov 10, 2024):
这个建议检查你的网络配置,或者查看 docker 的 network 是否发生冲突
@a506488043 commented on GitHub (Nov 10, 2024):
对的,nginx ui 能访问,自己的站点访问不了。现在又能访问了;时好时坏的
@0xJacky commented on GitHub (Nov 10, 2024):
自己的站点,配置信息也贴一下
@a506488043 commented on GitHub (Nov 10, 2024):
@a506488043 commented on GitHub (Nov 10, 2024):
nginx ui 能访问,自己的站点不应该访问不了;
@0xJacky commented on GitHub (Nov 10, 2024):
打开高级编辑模式,将配置文件全部贴过来
@a506488043 commented on GitHub (Nov 10, 2024):
@0xJacky commented on GitHub (Nov 10, 2024):
这个不对吧,为什么这个配置文件看不到 docker registry repo 的后端
@a506488043 commented on GitHub (Nov 10, 2024):
@0xJacky commented on GitHub (Nov 10, 2024):
嗯?你的 Ubuntu 上面是不是还装了个 Nginx,还有,提供一下 docker 启动 nginx-ui 的命令,如果是 compose 启动的,提供 docker-compose.yml。
@a506488043 commented on GitHub (Nov 10, 2024):
Ubuntu 已经卸载了;
docker run -dit --name=nginx-ui --restart=always -e TZ=Asia/Shanghai -v /mnt/256G/docker/nginx_ui/nginx:/etc/nginx -v /mnt/256G/docker/nginx_ui/nginx-ui:/etc/nginx-ui -v /var/www:/var/www -p 80:80 -p 443:443 uozi/nginx-ui:latest
@0xJacky commented on GitHub (Nov 10, 2024):
那你还有其他配置文件吗?就这一个配置文件?
@0xJacky commented on GitHub (Nov 10, 2024):
应该先排查一下看看是哪个配置文件给 docker registry repo 做了反向代理
@a506488043 commented on GitHub (Nov 10, 2024):
@a506488043 commented on GitHub (Nov 10, 2024):
奇怪了,电脑能访问,手机访问不了。
@0xJacky commented on GitHub (Nov 10, 2024):
你现在不是要访问这个 UI 吗

这个 UI 是怎么部署的,部署在哪个机器
@a506488043 commented on GitHub (Nov 10, 2024):
UI 部署在家里的ITX 上的。手机和电脑都在局域网上;我用 docker Nginx manager 是没问题的;Nginx manager 已经卸载了。
用路由器 指定域名 到了ITX上的IP了。
@a506488043 commented on GitHub (Nov 10, 2024):
有毒,手机PING网站也是局域网,手机访问不了;
电脑能访问;
@0xJacky commented on GitHub (Nov 10, 2024):
做了虚拟组网?