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.3
head ⚡️ HEAD

Depends on:

openssl@1.1 1.1.1l 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 36,798
nginx --HEAD 4
Installs on Request (30 days)
nginx 36,716
nginx --HEAD 4
Build Errors (30 days)
nginx 11
Installs (90 days)
nginx 115,650
nginx --HEAD 11
nginx --with-modsecurity 3
Installs on Request (90 days)
nginx 115,369
nginx --HEAD 11
nginx --with-modsecurity 3
Installs (365 days)
nginx 512,350
nginx --HEAD 50
nginx --with-modsecurity 15
Installs on Request (365 days)
nginx 510,295
nginx --HEAD 44
nginx --with-modsecurity 15
Fork me on GitHub