[GH-ISSUE #594] 环境变量和app.ini的关系不正确 #7420

Closed
opened 2026-03-12 20:34:21 +03:00 by kerem · 1 comment
Owner

Originally created by @chung1912 on GitHub (Oct 6, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/594

正常情况下,通常是环境变量优先级高于app.ini,两者配置应该相互独立。
但是,发现环境变量配置后,会自动写入app.ini,这种情况下,如果删除环境变量,app.ini的配置并不会删除,而会保留,如果需要清除配置,则还需要去app.ini里面再操作一次

建议环境变量和app.ini相互独立,不把环境变量的配置写入app.ini

Originally created by @chung1912 on GitHub (Oct 6, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/594 正常情况下,通常是环境变量优先级高于app.ini,两者配置应该相互独立。 但是,发现环境变量配置后,会自动写入app.ini,**这种情况下,如果删除环境变量,app.ini的配置并不会删除,而会保留,如果需要清除配置,则还需要去app.ini里面再操作一次**。 建议环境变量和app.ini相互独立,不把环境变量的配置写入app.ini
kerem 2026-03-12 20:34:21 +03:00
Author
Owner

@0xJacky commented on GitHub (Oct 6, 2024):

已在 4d1adac 中解决,将会在 beta.36 发布。

<!-- gh-comment-id:2395461875 --> @0xJacky commented on GitHub (Oct 6, 2024): 已在 4d1adac 中解决,将会在 beta.36 发布。
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#7420
No description provided.