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 @   ノGHJ  阅读(170)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示