macOS
brew install nginxlocal Homebrew formula metadata
sudo port install nginxMacPorts ports tree · www/nginx/Portfile · 来源: api.github.com
安装
brew install nginxlocal Homebrew formula metadata
sudo port install nginxMacPorts ports tree · www/nginx/Portfile · 来源: api.github.com
sudo apk add nginxAlpine Linux edge package indexes · nginx · 来源: dl-cdn.alpinelinux.org
sudo dnf install nginxFedora Rawhide package metadata · nginx · 来源: dl.fedoraproject.org
nix profile install nixpkgs#nginxnixpkgs package indexes · nginx · 来源: raw.githubusercontent.com
sudo pacman -S nginxArch Linux sync databases · nginx · 来源: geo.mirror.pkgbuild.com
sudo zypper install nginxopenSUSE Tumbleweed package metadata · nginx · 来源: download.opensuse.org
choco install nginxChocolatey community package catalog · nginx · 来源: community.chocolatey.org
scoop install main/nginxScoop official bucket manifest trees · bucket/nginx.json · 来源: api.github.com
winget install --id freenginx.nginx -eWindows Package Manager source index · freenginx.nginx · 来源: cdn.winget.microsoft.com
概览
HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
历史
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.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nginx | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:nginx |
|---|---|
| 版本 | 1.31.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nginx |
| 主页 | https://nginx.org/ |
| 仓库 | https://github.com/nginx/nginx |
| 上游文档 | https://nginx.org/en/docs |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://nginx.org/download/nginx-1.31.3.tar.gz |
| 最后更新 | 2026-07-16T03:37:38Z |
| Pulse | updated |
| 依赖 | openssl@3, pcre2 |
| macOS 提供的库 | libxcrypt |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 已定义 |
| 服务 | declared |
| 注意事项 | 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/. |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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#nginx来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.