nginx

Install command:
brew install nginx

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

https://nginx.org/

License: BSD-2-Clause

Development: Pull requests

Formula JSON API: /api/formula/nginx.json

Formula code: nginx.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate
tahoe
sequoia
Linux ARM64
x86_64

Current versions:

stable 1.31.6
head ⚡️ HEAD

Depends on:

openssl@3 3.6.4 Cryptography and SSL/TLS Toolkit
pcre2 10.48 Perl compatible regular expressions library with a new API

Uses from macOS: xz (build), libxcrypt

Binaries: nginx

Service:

Start now and at login: brew services start nginx
Run directly: $HOMEBREW_PREFIX/opt/nginx/bin/nginx -g daemon off;
Docroot is: $HOMEBREW_PREFIX/var/www

The default port has been set in $HOMEBREW_PREFIX/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.

nginx will load all files in $HOMEBREW_PREFIX/etc/nginx/servers/.

Analytics:

30 days90 days365 days
Installs5,72622,729121,070
Installs (--HEAD)426206
Installs on Request5,70822,643120,775
Installs on Request (--HEAD)426206
Build Errors5