mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #763] Nginx 日志目录白名单路径不生效 #7521
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#7521
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 @sanaeko on GitHub (Nov 26, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/763
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Nginx 日志目录白名单 不显示路径,且无法查看日志。
非Docker环境,直接Ubuntu本机使用官方脚本安装的NginxUI
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots


Info (please complete the following information):
@0xJacky commented on GitHub (Nov 26, 2024):
本机安装的话建议直接修改
app.ini中的配置项,因为不确定环境变量是否被 systemd 用于启动 Nginx UI,且修改配置后需要重启 Nginx UI。@sanaeko commented on GitHub (Nov 26, 2024):
官网上一直没有提及app.ini的路径。。。。我也是刚刚从别人那里看到,改了然后生效了
/usr/local/etc/nginx-ui/app.ini
我觉得最好是在环境变量或者开始的部分说清楚这个文件的位置比较好...
@0xJacky commented on GitHub (Nov 26, 2024):
你说的对。。。