[GH-ISSUE #763] Nginx 日志目录白名单路径不生效 #400

Closed
opened 2026-02-26 12:08:14 +03:00 by kerem · 3 comments
Owner

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
image
image

Info (please complete the following information):

  • Server OS:Ubuntu 24.04
  • Server Arch: x86
  • Nginx UI Version: 2.0.0-beta.41 (1)
  • Your Browser: Edge
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** ![image](https://github.com/user-attachments/assets/11ce0e63-06e5-40c2-a938-ab4a74412ce4) ![image](https://github.com/user-attachments/assets/dd797c3d-02c2-4752-9d45-64fc55bf8e51) **Info (please complete the following information):** - Server OS:Ubuntu 24.04 - Server Arch: x86 - Nginx UI Version: 2.0.0-beta.41 (1) - Your Browser: Edge
kerem closed this issue 2026-02-26 12:08:14 +03:00
Author
Owner

@0xJacky commented on GitHub (Nov 26, 2024):

本机安装的话建议直接修改 app.ini 中的配置项,因为不确定环境变量是否被 systemd 用于启动 Nginx UI,且修改配置后需要重启 Nginx UI。

<!-- gh-comment-id:2500000940 --> @0xJacky commented on GitHub (Nov 26, 2024): 本机安装的话建议直接修改 `app.ini` 中的配置项,因为不确定环境变量是否被 systemd 用于启动 Nginx UI,且修改配置后需要重启 Nginx UI。
Author
Owner

@sanaeko commented on GitHub (Nov 26, 2024):

本机安装的话建议直接修改 app.ini 中的配置项,因为不确定环境变量是否被 systemd 用于启动 Nginx UI,且修改配置后需要重启 Nginx UI。

官网上一直没有提及app.ini的路径。。。。我也是刚刚从别人那里看到,改了然后生效了
/usr/local/etc/nginx-ui/app.ini
我觉得最好是在环境变量或者开始的部分说清楚这个文件的位置比较好...

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

@0xJacky commented on GitHub (Nov 26, 2024):

你说的对。。。

<!-- gh-comment-id:2500025679 --> @0xJacky commented on GitHub (Nov 26, 2024): 你说的对。。。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#400
No description provided.