mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #773] 关于配置的一些疑问 #6183
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#6183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tengyinan1994 on GitHub (Dec 4, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/773
样式很好看,可以格式化配置文件的功能也很满足我的需求,我非常希望我的团队可以使用😄
@0xJacky commented on GitHub (Dec 4, 2024):
第一点,我不太明白您的使用场景和配置,正常来说是同步的,本质上列表就是读了配置文件夹里的文件
第二点,请查看 https://nginxui.com/zh_CN/guide/getting-started.html#%E4%BD%BF%E7%94%A8%E5%89%8D%E6%B3%A8%E6%84%8F
组织文件夹的架构,nginx ui 就能自动识别。
@tengyinan1994 commented on GitHub (Dec 4, 2024):
感谢您的解答,我差不多理解了,在添加站点上建的所有server会在sites-available目录中,在nginx.conf通过include导入所有,所以我在nginx.config中不会看到我配置的所有server,但其实已经导入了,是这个意思吧?
之后我需要做导入的时候,我只需要在sites-available目录下按照其他文件的格式新建文件就可以同步到站点了是吧
@0xJacky commented on GitHub (Dec 4, 2024):
include 其实算是引用吧,这只是为了精简 nginx.conf 的内容,你应该在网站管理里查看不同的配置文件(网站)。