启动:sudo nginx -c /usr/local/etc/nginx/nginx.conf
#重新加载配置|重启|停止|退出 nginx
nginx -s reload|reopen|stop|quit
#打开 nginx
sudo nginx
#测试配置是否有语法错误
nginx -t
http://blog.csdn.net/dracotianlong/article/details/21817097
启动:sudo nginx -c /usr/local/etc/nginx/nginx.conf
#重新加载配置|重启|停止|退出 nginx
nginx -s reload|reopen|stop|quit
#打开 nginx
sudo nginx
#测试配置是否有语法错误
nginx -t
http://blog.csdn.net/dracotianlong/article/details/21817097