Shark Deng

Interactive Designer @Shanju Design in Shanghai

touched caffe / mxnet / python / wordpress / bootstrap / Arduino / Raspberry Pi / webgl / three.js / PIXI / 3dMax

Email

Github

Nginx – mac安装启动

2019-11-20 16:46:55

启动

//启动
cd /usr/local/cellar/nginx/1.13.9/bin
sudo ./nginx
or sudo nginx
//检查配置文件
sudo ./nginx -t
//重启
sudo ./nginx -s reload
or sudo nginx -s reload

安装

/usr/local/etc/nginx/nginx.conf (配置文件路径)
/usr/local/var/www (服务器默认路径)
/usr/local/Cellar/nginx/1.8.0 (安装路径)

 



——By SharkDeng
如果你喜欢我的文章,欢迎红包赞赏

Leave a Reply

Your email address will not be published. Required fields are marked *