nginx -t -c /usr/nginx/conf/nginx.conf 检查配置文件是否正常
报错信息为
directive is not allowed here in
本文介绍使用nginx-t检查工具来验证Nginx配置文件的正确性。当运行该工具时,如果出现directive is not allowed here错误提示,通常意味着配置文件中存在不允许在此处使用的指令。
nginx -t -c /usr/nginx/conf/nginx.conf 检查配置文件是否正常
报错信息为
directive is not allowed here in
1088
1735
817

被折叠的 条评论
为什么被折叠?