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@4 4.0.3 Cryptography and SSL/TLS Toolkit
pcre2 10.49 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
Installs4,50421,230118,474
Installs (--HEAD)926199
Installs on Request4,49421,167118,191
Installs on Request (--HEAD)926199
Build Errors21