当前位置:   article > 正文

mac brew install nginx

brew install nginx镜像

Docroot is: /usr/local/var/www

The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that nginx can run without sudo.

nginx will load all files in /usr/local/etc/nginx/servers/.

To have launchd start nginx now and restart at login: brew services start nginx Or, if you don't want/need a background service you can just run: nginx ==> Summary ? /usr/local/Cellar/nginx/1.10.1: 7 files, 972.2K

转载于:https://my.oschina.net/michao/blog/738584

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/264495
推荐阅读
相关标签
  

闽ICP备14008679号