CocoaEngineering
FORMULAv1.31.10

nginx for macOS

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

Installation on macOS (Apple Silicon & Intel)

brew install nginx

Package Metadata

Identifiernginx
Current Version1.31.10
Tap Repositoryhomebrew/core
LicenseBSD-2-Clause
Upstream Homepagehttps://nginx.org/
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (2)

openssl@4 pcre2

Engineering Caveats

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/.
Browse macOS Packages A–Z