首页 > 代码库 > Mac Brew Install Nginx Summary

Mac Brew Install Nginx Summary

==> Downloading https://homebrew.bintray.com/bottles/nginx-1.10.1.el_capitan.bot
######################################################################## 100.0%
==> Pouring nginx-1.10.1.el_capitan.bottle.tar.gz
==> Caveats
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

 

/usr/local/bin/nginx

Mac Brew Install Nginx Summary