[GH-ISSUE #700] 添加站点时,多行指令下的"必须为 server_name 指令指明参数"可能没有正常工作 #6131

Closed
opened 2026-03-01 17:09:43 +03:00 by kerem · 1 comment
Owner

Originally created by @JxiaoC on GitHub (Nov 4, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/700

如图所示,虽然在多行指令中已经输入并保存了server_name信息,但是依旧会提示必须为 server_name 指令指明参数而导致无法进入下一步_(:з」∠)_

image

Originally created by @JxiaoC on GitHub (Nov 4, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/700 如图所示,虽然在多行指令中已经输入并保存了`server_name`信息,但是依旧会提示`必须为 server_name 指令指明参数`而导致无法进入下一步_(:з」∠)_ ![image](https://github.com/user-attachments/assets/a3d674e2-08e7-410b-8428-5ceb488a78fd)
kerem 2026-03-01 17:09:43 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@JxiaoC commented on GitHub (Nov 4, 2024):

我的问题。。server_name应该在server{}

<!-- gh-comment-id:2454235236 --> @JxiaoC commented on GitHub (Nov 4, 2024): 我的问题。。`server_name`应该在`server{}`中
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#6131
No description provided.