啓動:sudo nginx -c /usr/local/etc/nginx/nginx.confnginx
#從新加載配置|重啓|中止|退出 nginx測試
nginx -s reload|reopen|stop|quitui
#打開 nginx.net
sudo nginxblog
#測試配置是否有語法錯誤it
nginx -t配置
http://blog.csdn.net/dracotianlong/article/details/21817097語法