Install command:
brew install nginx

HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server

License: BSD-2-Clause

/api/formula/nginx.json (JSON API)

/api/bottle/nginx.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 1.21.1
head ⚡️ HEAD

Depends on:

openssl@1.1 1.1.1k Cryptography and SSL/TLS Toolkit
pcre 8.45 Perl compatible regular expressions library
Docroot is: $(brew --prefix)/var/www

The default port has been set in $(brew --prefix)/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.

nginx will load all files in $(brew --prefix)/etc/nginx/servers/.


Installs (30 days)
nginx 39,086
nginx --HEAD 3
nginx --with-modsecurity 3
Installs on Request (30 days)
nginx 38,973
nginx --HEAD 3
nginx --with-modsecurity 3
Build Errors (30 days)
nginx 45
Installs (90 days)
nginx 113,373
nginx --HEAD 16
nginx --with-modsecurity 9
Installs on Request (90 days)
nginx 113,117
nginx --HEAD 16
nginx --with-modsecurity 9
Installs (365 days)
nginx 502,008
nginx --HEAD 54
nginx --with-modsecurity 31
Installs on Request (365 days)
nginx 498,466
nginx --HEAD 44
nginx --with-modsecurity 31
Fork me on GitHub