Brew Install Nginx (CloudMonk.io)
brew install nginx
Return to Nginx, Nginx on macOS, choco install nginx
brew search nginx
==> Formulae
nginx
brew install nginx
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/cask and homebrew/core).
> Installing dependencies for nginx: pcre
> Installing nginx dependency: pcre
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.42.high_sierra.bottle.t
######################################################################## 100.0%
==> Pouring pcre-8.42.high_sierra.bottle.tar.gz
🍺 /usr/local/Cellar/pcre/8.42: 204 files, 5.3MB
> Installing nginx
> Downloading https://homebrew.bintray.com/bottles/nginx-1.15.5.high_sierra.bottl
######################################################################## 100.0%
> Pouring nginx-1.15.5.high_sierra.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.15.5: 23 files, 1.4MB
> Caveats
> 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
Nginx: Web Servers, Nginx Installation (choco install nginx - Nginx on Windows, Nginx on WSL, brew install nginx - Nginx on macOS, dnf install nginx - Nginx on Rocky, apt install nginx - Nginx on Debian), Nginx Management, Load Balancers, Nginx GitHub, Awesome Nginx. (navbar_nginx)
----
Cloud Monk is Retired (impermanence |for now). Buddha with you. Copyright | © Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.
----