www/nginx - The NetBSD Packages Collection

Lightweight HTTP server and mail proxy server

Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
started development of Nginx in 2002, with the first public release in 2004.
Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
Nginx is known for its high performance, stability, rich feature set, simple
configuration, and low resource consumption.

Nginx is one of a handful of servers written to address the C10K problem.
Unlike traditional servers, Nginx doesn't rely on threads to handle requests.
Instead it uses a much more scalable event-driven (asynchronous) architecture.
This architecture uses small, but more importantly, predictable amounts of
memory under load.
Even if you don't expect to handle thousands of simultaneous requests, you can
still benefit from Nginx's high-performance and small memory footprint.
Nginx scales in all directions: from the smallest VPS all the way up to
clusters of servers.

Nginx powers several high-visibility sites, such as Netflix, Hulu, Pinterest,
CloudFlare, Airbnb, WordPress.com, GitHub, SoundCloud, Zynga, Eventbrite,
Zappos, Media Temple, Heroku, RightScale, Engine Yard and NetDNA.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/pcre2 devel/pcre2

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64nginx-1.26.2.tgz
NetBSD 10.0aarch64nginx-1.26.1.tgz
NetBSD 10.0aarch64ebnginx-1.26.1.tgz
NetBSD 10.0aarch64ebnginx-1.26.2.tgz
NetBSD 10.0alphanginx-1.24.0nb17.tgz
NetBSD 10.0alphanginx-1.26.1.tgz
NetBSD 10.0alphanginx-1.26.2.tgz
NetBSD 10.0earmv4nginx-1.26.1.tgz
NetBSD 10.0earmv4nginx-1.26.2.tgz
NetBSD 10.0earmv6hfnginx-1.26.2.tgz
NetBSD 10.0earmv6hfnginx-1.24.0nb17.tgz
NetBSD 10.0earmv6hfnginx-1.26.1.tgz
NetBSD 10.0earmv7hfnginx-1.26.2.tgz
NetBSD 10.0earmv7hfnginx-1.24.0nb17.tgz
NetBSD 10.0earmv7hfnginx-1.26.1.tgz
NetBSD 10.0i386nginx-1.26.2.tgz
NetBSD 10.0i386nginx-1.26.1.tgz
NetBSD 10.0m68knginx-1.24.0nb16.tgz
NetBSD 10.0mips64ebnginx-1.24.0nb17.tgz
NetBSD 10.0powerpcnginx-1.24.0nb11.tgz
NetBSD 10.0powerpcnginx-1.24.0nb16.tgz
NetBSD 10.0powerpcnginx-1.24.0nb17.tgz
NetBSD 10.0sh3elnginx-1.26.1.tgz
NetBSD 10.0sh3elnginx-1.26.2.tgz
NetBSD 10.0sparc64nginx-1.26.1.tgz
NetBSD 10.0sparc64nginx-1.26.2.tgz
NetBSD 10.0sparcnginx-1.26.1.tgz
NetBSD 10.0sparcnginx-1.26.2.tgz
NetBSD 10.0vaxnginx-1.24.0nb17.tgz
NetBSD 10.0vaxnginx-1.26.1.tgz
NetBSD 10.0vaxnginx-1.26.2.tgz
NetBSD 10.0x86_64nginx-1.26.2.tgz
NetBSD 10.0x86_64nginx-1.26.1.tgz
NetBSD 9.0aarch64nginx-1.26.2.tgz
NetBSD 9.0aarch64nginx-1.26.1.tgz
NetBSD 9.0alphanginx-1.26.1.tgz
NetBSD 9.0alphanginx-1.26.2.tgz
NetBSD 9.0earmv4nginx-1.24.0nb17.tgz
NetBSD 9.0earmv6hfnginx-1.26.2.tgz
NetBSD 9.0earmv6hfnginx-1.24.0nb17.tgz
NetBSD 9.0earmv6hfnginx-1.26.1.tgz
NetBSD 9.0earmv7hfnginx-1.26.2.tgz
NetBSD 9.0earmv7hfnginx-1.24.0nb17.tgz
NetBSD 9.0earmv7hfnginx-1.26.1.tgz
NetBSD 9.0i386nginx-1.26.2.tgz
NetBSD 9.0i386nginx-1.26.1.tgz
NetBSD 9.0m68knginx-1.26.1.tgz
NetBSD 9.0powerpcnginx-1.24.0nb16.tgz
NetBSD 9.0powerpcnginx-1.24.0nb11.tgz
NetBSD 9.0powerpcnginx-1.24.0nb17.tgz
NetBSD 9.0sparc64nginx-1.24.0nb17.tgz
NetBSD 9.0sparc64nginx-1.26.2.tgz
NetBSD 9.0x86_64nginx-1.26.2.tgz
NetBSD 9.0x86_64nginx-1.26.1.tgz
NetBSD 9.3x86_64nginx-1.26.2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

nginx-array-var
nginx-auth-request
nginx-cache-purge
nginx-dav
nginx-debug
nginx-dso
nginx-echo
nginx-encrypted-session
nginx-flv
nginx-form-input
nginx-geoip
nginx-geoip2
nginx-gssapi
nginx-gtools
nginx-gzip
nginx-headers-more
nginx-http2
nginx-http3
nginx-image-filter
nginx-luajit
nginx-mail-proxy
nginx-memcache
nginx-naxsi
nginx-njs
nginx-njs-xml
nginx-perl
nginx-push
nginx-realip
nginx-redis
nginx-rtmp
nginx-secure-link
nginx-set-misc
nginx-slice
nginx-ssl
nginx-status
nginx-stream-ssl-preread
nginx-sts
nginx-sub
nginx-upload
nginx-uwsgi
nginx-vts

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.