[Seek Help] nginx配置文件没有server块,怎么修改路径 Resolved
Tofloor
poster avatar
neimengbaye
deepin
2022-09-16 03:39
Author

nginx默认配置文件,没有server块,页面路径是要自己填写吗?那nginx的默认页面是怎么出来的?配置文件代码内没有看到核心路径呢?

Reply Favorite View the author
All Replies
观摩
deepin
2022-09-16 17:01
#1

这是在水帖子吗?

如果真的是想求助,起码把你感觉有疑惑的 conf 文件贴出来。

这没头没尾的

Reply View the author
花酒锄作田
deepin
2022-09-18 20:30
#2

注意nginx.conf中的 include,这个关键词用来导入其它配置,默认是conf下的conf.d目录,里面有个default.conf。

Reply View the author
neimengbaye
deepin
2022-09-22 18:13
#3
观摩

这是在水帖子吗?

如果真的是想求助,起码把你感觉有疑惑的 conf 文件贴出来。

这没头没尾的

本来是要发的,提示有违规词语 然后就删掉啦

Reply View the author
neimengbaye
deepin
2022-09-22 18:13
#4
花酒锄作田

注意nginx.conf中的 include,这个关键词用来导入其它配置,默认是conf下的conf.d目录,里面有个default.conf。

恩 解决啦 感谢 感谢

Reply View the author
neimengbaye
deepin
2022-09-27 03:28
#5
花酒锄作田

注意nginx.conf中的 include,这个关键词用来导入其它配置,默认是conf下的conf.d目录,里面有个default.conf。

又有新的认识啦 谢谢大佬😄

Reply View the author