mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #1420] 日志无法查看 #2875
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#2875
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 @AceCandy on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1420
Describe the bug
无法查看到对应的访问日志和错误日志
To Reproduce
我一开始是用docker安装的,之后导出配置后是用脚本sudo方式直接安装,日志目录是/var/log/nginx/access.log,但从nginxui中无法进行查看,都是空的
Expected behavior
由于发现无法查看日志,到/var/log/nginx文件夹下删除掉所有日志,通过nginxui重启nginx,看到所有日志文件创建了,但都是空的,且用户都是root
Screenshots


nginx.conf配置截图:
目录下日志截图:
Info (please complete the following information):
Additional context
Add any other context about the problem here.