macOS
brew install nginxlocal Homebrew formula metadata
sudo port install nginxMacPorts ports tree · www/nginx/Portfile · source: api.github.com
brew
HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server. Version 1.31.2 via Homebrew; verified 2026-06-17.
install
brew install nginxlocal Homebrew formula metadata
sudo port install nginxMacPorts ports tree · www/nginx/Portfile · source: api.github.com
sudo apk add nginxAlpine Linux edge package indexes · nginx · source: dl-cdn.alpinelinux.org
sudo apt install libnginx-mod-http-geoipDebian stable package indexes · libnginx-mod-http-geoip · source: deb.debian.org
sudo dnf install nginxFedora Rawhide package metadata · nginx · source: dl.fedoraproject.org
nix profile install nixpkgs#nginxnixpkgs package indexes · nginx · source: raw.githubusercontent.com
sudo pacman -S nginxArch Linux sync databases · nginx · source: geo.mirror.pkgbuild.com
sudo zypper install nginxopenSUSE Tumbleweed package metadata · nginx · source: download.opensuse.org
choco install nginxChocolatey community package catalog · nginx · source: community.chocolatey.org
scoop install main/nginxScoop official bucket manifest trees · bucket/nginx.json · source: api.github.com
winget install --id freenginx.nginx -eWindows Package Manager source index · freenginx.nginx · source: cdn.winget.microsoft.com
overview
HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
history
nginx is an HTTP server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy. It became famous for event-driven, low-resource handling of large numbers of concurrent connections and then became a default building block in web serving, reverse proxying, Kubernetes ingress, and container deployments.
Igor Sysoev began developing nginx in spring 2002 to solve high-concurrency web traffic problems, especially the C10k-style problem of handling many simultaneous connections efficiently. The project was open sourced under a permissive license on October 4, 2004.
For years nginx grew with little marketing and limited documentation because it solved real operational pain. The official nginx retrospective says Sysoev was the sole developer for seven years and expanded it from a web server and reverse proxy into a broader web application delivery tool with load balancing, caching, security, and content acceleration features.
nginx adoption accelerated as high-traffic sites, startups, and infrastructure teams needed something lighter than Apache prefork-era deployments for static content, reverse proxying, and traffic fan-out. The official nginx site describes it as the world's most popular web server, one of the most popular Docker images, and the software powering multiple Kubernetes ingress controllers.
The commercial story followed the open-source adoption curve. NGINX, Inc. formed in 2011, NGINX Plus launched in 2013, F5 completed its acquisition of NGINX on May 9, 2019, and Igor Sysoev stepped back from NGINX and F5 on January 18, 2022.
Operators use nginx as the front door for services: serve static files, terminate TLS, route to upstream application servers, cache responses, rate-limit abusive clients, proxy WebSockets, and expose TCP/UDP streams. On developer machines it is often installed to reproduce production routing or test local reverse-proxy behavior.
Package nerds care about nginx build flags and module layout. A distro or Homebrew nginx package is more than one binary: it encodes TLS library choices, HTTP/2 and HTTP/3 support, dynamic modules, config paths, default document roots, service integration, and whether the package follows the F5/nginx.org line or a distribution-maintained variant.
nginx is a canonical infrastructure package: boring once configured, but decisive in production behavior. Its package history is really a story about turning a specialized high-concurrency web server into a universal reverse-proxy and application-delivery primitive.
security posture
formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/usr/local/nginx/conf/nginx.conf/etc/nginx/nginx.conf/usr/local/etc/nginx/nginx.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
nginx | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:nginx |
|---|---|
| Version | 1.31.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/nginx |
| Homepage | https://nginx.org/ |
| Repository | https://github.com/nginx/nginx |
| Upstream docs | https://nginx.org/en/docs |
| License | BSD-2-Clause |
| Source archive | https://nginx.org/download/nginx-1.31.2.tar.gz |
| Last updated | 2026-06-17T20:23:23Z |
| Pulse | updated |
| Dependencies | openssl@3, pcre2 |
| Uses from macOS | libxcrypt |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | defined |
| Service | declared |
| 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/. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nginx |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libnginx-mod-http-geoip 1.26.3-3+deb13u4
GeoIP HTTP module for Nginx
sudo apt install libnginx-mod-http-geoiplibnginx-mod-http-image-filter 1.26.3-3+deb13u4
HTTP image filter module for Nginx
sudo apt install libnginx-mod-http-image-filterlibnginx-mod-http-perl 1.26.3-3+deb13u4
Perl module for Nginx
sudo apt install libnginx-mod-http-perllibnginx-mod-http-xslt-filter 1.26.3-3+deb13u4
XSLT Transformation module for Nginx
sudo apt install libnginx-mod-http-xslt-filterlibnginx-mod-mail 1.26.3-3+deb13u4
Mail module for Nginx
sudo apt install libnginx-mod-maillibnginx-mod-stream 1.26.3-3+deb13u4
Stream module for Nginx
sudo apt install libnginx-mod-streamlibnginx-mod-stream-geoip 1.26.3-3+deb13u4
GeoIP Stream module for Nginx
sudo apt install libnginx-mod-stream-geoipnginx 1.26.3-3+deb13u4
small, powerful, scalable web/proxy server
sudo apt install nginxnginx-common 1.26.3-3+deb13u4
small, powerful, scalable web/proxy server - common files
sudo apt install nginx-commonnginx-core 1.26.3-3+deb13u4
nginx web/proxy server (standard version)
sudo apt install nginx-corenginx-dev 1.26.3-3+deb13u4
nginx web/proxy server - development headers
sudo apt install nginx-devnginx-doc 1.26.3-3+deb13u4
small, powerful, scalable web/proxy server - documentation
sudo apt install nginx-docnginx-extras 1.26.3-3+deb13u4
nginx web/proxy server (extended version)
sudo apt install nginx-extrasnginx-full 1.26.3-3+deb13u4
nginx web/proxy server (standard version with 3rd parties)
sudo apt install nginx-fullnginx-light 1.26.3-3+deb13u4
nginx web/proxy server (basic version)
sudo apt install nginx-lightnginx
nix profile install nixpkgs#nginxsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.