[GH-ISSUE #1382] 含有关键字的注释会影响配置文件的解析 #2827

Closed
opened 2026-02-27 12:27:40 +03:00 by kerem · 0 comments
Owner

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

···
server {
#listen
listen 10443 ssl;
listen [::]:10443 ssl;
···
以上配置会使得网站列表中显示的网站地址不包含 10443 端口,初步测试只要注释中出现 listen 就会出问题

如图
Image

Image
Originally created by @LogicDX342 on GitHub (Oct 6, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1382 ··· server { #listen listen 10443 ssl; listen [::]:10443 ssl; ··· 以上配置会使得网站列表中显示的网站地址不包含 10443 端口,初步测试只要注释中出现 `listen` 就会出问题 如图 <img width="2827" height="174" alt="Image" src="https://github.com/user-attachments/assets/0b5b001f-9522-474e-bd20-d020826afa89" /> <img width="2475" height="165" alt="Image" src="https://github.com/user-attachments/assets/106066f5-99e6-4a0b-b246-7689c08b8baf" />
kerem 2026-02-27 12:27:40 +03:00
  • closed this issue
  • added the
    bug
    label
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#2827
No description provided.