mac启动nginx报错 [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied) 原因是1024以下端口启动时需要root权限,所以sudo nginx即可。