五、测试nginx配置文件是否正确

一、

在安装完nginx之后,我们可以使用nginx的测试命令来验证下nginx.conf的配置是否正确:

nginx -t

 

posted @ 2020-01-06 15:55  反骨少年  阅读(2783)  评论(0)    收藏  举报