[GH-ISSUE #816] 希望增加基础的命令下拉如 root index return 等 #430

Closed
opened 2026-02-26 12:08:19 +03:00 by kerem · 1 comment
Owner

Originally created by @yunyun on GitHub (Jan 12, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/816

老师好,
我在使用新产品的时候,发现一些常用 的nginx 指令,如 root,server_name,index,return 需要手动敲入,如果有空格,还会识别不了,希望常用的做成下拉,会方便很多,最好可以自定义,我们自己可以手动添加。
微信图片_20250112125555

Originally created by @yunyun on GitHub (Jan 12, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/816 老师好, 我在使用新产品的时候,发现一些常用 的nginx 指令,如 root,server_name,index,return 需要手动敲入,如果有空格,还会识别不了,希望常用的做成下拉,会方便很多,最好可以自定义,我们自己可以手动添加。 ![微信图片_20250112125555](https://github.com/user-attachments/assets/0df29614-6ad5-46f8-ac74-72cc9d4e09e7)
kerem closed this issue 2026-02-26 12:08:19 +03:00
Author
Owner

@0xJacky commented on GitHub (Jan 21, 2025):

Image

已在 5911462 中添加,将会在下一个版本中发布。
Added in 5911462, will be released in the next version.

处于安全考量,我们不会允许用户自定义指令列表,现在是直接基于 Alphabetical index of directives (https://nginx.org/en/docs/dirindex.html) 做的解析。
For security reasons, we do not allow users to define custom directive lists. Currently, the parsing is done directly based on the Alphabetical Index of Directives (https://nginx.org/en/docs/dirindex.html).

<!-- gh-comment-id:2603513075 --> @0xJacky commented on GitHub (Jan 21, 2025): <img width="821" alt="Image" src="https://github.com/user-attachments/assets/61adb387-57a1-45f1-b073-d45851c38daa" /> 已在 5911462 中添加,将会在下一个版本中发布。 Added in 5911462, will be released in the next version. 处于安全考量,我们不会允许用户自定义指令列表,现在是直接基于 Alphabetical index of directives (https://nginx.org/en/docs/dirindex.html) 做的解析。 For security reasons, we do not allow users to define custom directive lists. Currently, the parsing is done directly based on the Alphabetical Index of Directives (https://nginx.org/en/docs/dirindex.html).
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#430
No description provided.