brew_install_nginx

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

  1. 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

  1. 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)


© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


brew_install_nginx.txt · Last modified: 2024/04/28 03:44 by 127.0.0.1