Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 nginx

查看 nginx 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nginx

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install nginx

MacPorts ports tree · www/nginx/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add nginx

Alpine Linux edge package indexes · nginx · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install nginx

Debian stable package indexes · nginx · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install nginx

Fedora Rawhide package metadata · nginx · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#nginx

nixpkgs package indexes · nginx · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S nginx

Arch Linux sync databases · nginx · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install nginx

openSUSE Tumbleweed package metadata · nginx · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install nginx

Chocolatey community package catalog · nginx · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/nginx

Scoop official bucket manifest trees · bucket/nginx.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id freenginx.nginx -e

Windows Package Manager source index · freenginx.nginx · 来源: cdn.winget.microsoft.com

概览

软件包摘要

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

命令和别名

  • nginx

历史

项目历史与用法

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.

时间线

  • 2002: Igor Sysoev began developing nginx.
  • 2004-10-04: nginx was released as open source.
  • 2011: NGINX, Inc. was formed.
  • 2013: NGINX Plus launched as the commercial product line.
  • 2019-05-09: F5 completed its acquisition of NGINX.
  • 2022-01-18: Igor Sysoev stepped back from NGINX and F5.

Related projects

  • Apache httpd
  • OpenResty
  • Tengine
  • Cloudflare infrastructure
  • Kubernetes Ingress Controllers
  • NGINX Unit
  • njs

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • Homebrew 为此 formula 声明了 post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
/usr/local/nginx/conf/nginx.conf/etc/nginx/nginx.conf/usr/local/etc/nginx/nginx.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nginxcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.31.3
管理器更新时间2026-07-16
本地数据OK
上游not checked
检测到的最新版本未检测到

https://nginx.org/

  • 信息Release/tag comparison is only available for GitHub repositories.https://nginx.org/none 置信度

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namenginx
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libnginx-mod-http-geoip 1.26.3-3+deb13u4

GeoIP HTTP module for Nginx

https://nginx.org

sudo apt install libnginx-mod-http-geoip
  • Section: httpd
  • Architecture: amd64
  • Source Package: nginx
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnginx-mod-http-geoip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnginx-mod-http-image-filter 1.26.3-3+deb13u4

HTTP image filter module for Nginx

https://nginx.org

sudo apt install libnginx-mod-http-image-filter
  • Section: httpd
  • Architecture: amd64
  • Source Package: nginx
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnginx-mod-http-image-filter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnginx-mod-http-perl 1.26.3-3+deb13u4

Perl module for Nginx

https://nginx.org

sudo apt install libnginx-mod-http-perl
  • Section: httpd
  • Architecture: amd64
  • Source Package: nginx
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnginx-mod-http-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnginx-mod-http-xslt-filter 1.26.3-3+deb13u4

XSLT Transformation module for Nginx

https://nginx.org

sudo apt install libnginx-mod-http-xslt-filter
  • Section: httpd
  • Architecture: amd64
  • Source Package: nginx
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnginx-mod-http-xslt-filter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnginx-mod-mail 1.26.3-3+deb13u4

Mail module for Nginx

https://nginx.org

sudo apt install libnginx-mod-mail
  • Section: httpd
  • Architecture: amd64
  • Source Package: nginx
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnginx-mod-mail from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnginx-mod-stream 1.26.3-3+deb13u4

Stream module for Nginx

https://nginx.org

sudo apt install libnginx-mod-stream
  • Section: httpd
  • Architecture: amd64
  • Source Package: nginx
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnginx-mod-stream from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnginx-mod-stream-geoip 1.26.3-3+deb13u4

GeoIP Stream module for Nginx

https://nginx.org

sudo apt install libnginx-mod-stream-geoip
  • Section: httpd
  • Architecture: amd64
  • Source Package: nginx
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnginx-mod-stream-geoip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nginx 1.26.3-3+deb13u4

small, powerful, scalable web/proxy server

https://nginx.org

sudo apt install nginx
  • Section: httpd
  • Architecture: amd64
  • 7 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nginx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nginx-common 1.26.3-3+deb13u4

small, powerful, scalable web/proxy server - common files

https://nginx.org

sudo apt install nginx-common
  • Section: httpd
  • Architecture: all
  • Source Package: nginx
  • 2 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nginx-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nginx-core 1.26.3-3+deb13u4

nginx web/proxy server (standard version)

https://nginx.org

sudo apt install nginx-core
  • Section: httpd
  • Architecture: all
  • Source Package: nginx
  • 7 依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nginx-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nginx-dev 1.26.3-3+deb13u4

nginx web/proxy server - development headers

https://nginx.org

sudo apt install nginx-dev
  • Section: httpd
  • Architecture: all
  • Source Package: nginx
  • 12 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nginx-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nginx-doc 1.26.3-3+deb13u4

small, powerful, scalable web/proxy server - documentation

https://nginx.org

sudo apt install nginx-doc
  • Section: doc
  • Architecture: all
  • Source Package: nginx
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nginx-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nginx-extras 1.26.3-3+deb13u4

nginx web/proxy server (extended version)

https://nginx.org

sudo apt install nginx-extras
  • Section: httpd
  • Architecture: amd64
  • Source Package: nginx
  • 21 依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nginx-extras from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nginx-full 1.26.3-3+deb13u4

nginx web/proxy server (standard version with 3rd parties)

https://nginx.org

sudo apt install nginx-full
  • Section: httpd
  • Architecture: all
  • Source Package: nginx
  • 8 依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nginx-full from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nginx-light 1.26.3-3+deb13u4

nginx web/proxy server (basic version)

https://nginx.org

sudo apt install nginx-light
  • Section: httpd
  • Architecture: all
  • Source Package: nginx
  • 2 依赖
  • normalized package name match
  • 匹配方式:Nginx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nginx-light from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nginx

nix profile install nixpkgs#nginx
  • normalized package name match
  • 匹配方式:Nginx
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: nginx from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment