nignx 测试配置文件

nginx -t

nginx: the configuration file /usr/local/nginx-1.2.9/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx-1.2.9/conf/nginx.conf test is successful
说明正常,此步很重要.否则会导致重启失败,出现无服务的情况
posted @ 2017-04-19 10:33  ノGHJ  阅读(169)  评论(0编辑  收藏  举报