mac nginx操作

启动: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

posted @ 2015-11-09 23:20  百里水上  阅读(239)  评论(0编辑  收藏  举报