怎样测试nginx.conf配置文件的正确性

方法: 使用 nginx -t 命令 

nginx -t

如果一切正常, 则会显示: 

原文地址:https://www.cnblogs.com/aisowe/p/11597413.html