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.24.0nb16.tgz
NetBSD 10.0aarch64nginx-1.24.0nb7.tgz
NetBSD 10.0aarch64nginx-1.24.0nb11.tgz
NetBSD 10.0aarch64ebnginx-1.24.0nb11.tgz
NetBSD 10.0aarch64ebnginx-1.24.0nb16.tgz
NetBSD 10.0alphanginx-1.24.0nb16.tgz
NetBSD 10.0earmv4nginx-1.24.0nb16.tgz
NetBSD 10.0earmv6hfnginx-1.24.0nb16.tgz
NetBSD 10.0earmv6hfnginx-1.24.0nb7.tgz
NetBSD 10.0earmv6hfnginx-1.24.0nb11.tgz
NetBSD 10.0earmv7hfnginx-1.24.0nb16.tgz
NetBSD 10.0earmv7hfnginx-1.24.0nb7.tgz
NetBSD 10.0earmv7hfnginx-1.24.0nb11.tgz
NetBSD 10.0i386nginx-1.24.0nb16.tgz
NetBSD 10.0i386nginx-1.24.0nb11.tgz
NetBSD 10.0m68knginx-1.24.0nb16.tgz
NetBSD 10.0powerpcnginx-1.24.0nb11.tgz
NetBSD 10.0sh3elnginx-1.24.0nb16.tgz
NetBSD 10.0sparcnginx-1.24.0nb16.tgz
NetBSD 10.0vaxnginx-1.24.0nb11.tgz
NetBSD 10.0vaxnginx-1.24.0nb16.tgz
NetBSD 10.0x86_64nginx-1.24.0nb16.tgz
NetBSD 10.0_BETAx86_64nginx-1.24.0nb11.tgz
NetBSD 8.0i386nginx-1.24.0nb11.tgz
NetBSD 8.0i386nginx-1.24.0nb7.tgz
NetBSD 8.0powerpcnginx-1.22.1nb5.tgz
NetBSD 8.0powerpcnginx-1.24.0nb16.tgz
NetBSD 8.0powerpcnginx-1.24.0nb11.tgz
NetBSD 8.0x86_64nginx-1.24.0nb11.tgz
NetBSD 8.0x86_64nginx-1.24.0nb7.tgz
NetBSD 8.0x86_64nginx-1.24.0nb16.tgz
NetBSD 9.0aarch64nginx-1.24.0nb16.tgz
NetBSD 9.0aarch64nginx-1.24.0nb7.tgz
NetBSD 9.0aarch64nginx-1.24.0nb11.tgz
NetBSD 9.0alphanginx-1.22.1nb5.tgz
NetBSD 9.0alphanginx-1.24.0nb16.tgz
NetBSD 9.0earmnginx-1.22.1nb5.tgz
NetBSD 9.0earmv6hfnginx-1.24.0nb16.tgz
NetBSD 9.0earmv6hfnginx-1.24.0nb7.tgz
NetBSD 9.0earmv6hfnginx-1.24.0nb11.tgz
NetBSD 9.0earmv7hfnginx-1.24.0nb16.tgz
NetBSD 9.0earmv7hfnginx-1.24.0nb7.tgz
NetBSD 9.0earmv7hfnginx-1.24.0nb11.tgz
NetBSD 9.0i386nginx-1.24.0nb11.tgz
NetBSD 9.0i386nginx-1.24.0nb16.tgz
NetBSD 9.0powerpcnginx-1.24.0nb16.tgz
NetBSD 9.0powerpcnginx-1.24.0nb7.tgz
NetBSD 9.0powerpcnginx-1.24.0nb11.tgz
NetBSD 9.0sh3elnginx-1.24.0nb11.tgz
NetBSD 9.0sparc64nginx-1.22.1nb5.tgz
NetBSD 9.0sparcnginx-1.22.1nb5.tgz
NetBSD 9.0sparcnginx-1.24.0nb11.tgz
NetBSD 9.0vaxnginx-1.24.0nb11.tgz
NetBSD 9.0vaxnginx-1.24.0nb16.tgz
NetBSD 9.0x86_64nginx-1.24.0nb16.tgz
NetBSD 9.0x86_64nginx-1.24.0nb11.tgz
NetBSD 9.3x86_64nginx-1.24.0nb9.tgz
NetBSD 9.3x86_64nginx-1.24.0nb16.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

array-var
auth-request
cache-purge
dav
debug
Enable debugging facilities in the package.
dso
echo
encrypted-session
flv
form-input
geoip
Enable IP-to-country-lookup.
geoip2
gssapi
Enable gssapi (Kerberos V) support.
gtools
gzip
Enable compression using gzip.
headers-more
http2
Add support for HTTP/2.
image-filter
luajit
Enable LuaJIT support.
mail-proxy
memcache
naxsi
njs
njs-xml
perl
Enable Perl support.
push
realip
redis
Support the Redis database.
rtmp
Enable rtmp:// support using rtmpdump.
secure-link
set-misc
slice
ssl
Enable SSL support.
status
stream-ssl-preread
sts
sub
upload
uwsgi
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.