Mac 下Nginx80端口没法子启动问题

Nginx监听80端口须要root权限执行,所以:nginx

sudo chown root:wheel /usr/local/Cellar/nginx/1.6.0_1/bin/nginx
sudo chmod u+s /usr/local/Cellar/nginx/1.6.0_1/bin/nginx
相关文章
相关标签/搜索