Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

concatime/nginx-zero

Repository files navigation

Purely static NGiИX

semantic-release ISC License Build Status builds.sr.ht status

Package Version Latest available
NGiИX 1.17.7
MUSL 1.1.24
PCRE 8.43
ZLIB 1.2.11
LIBRESSL 2.9.0*
JEMALLOC 5.2.1
LIBATOMIC_OPS 7.6.10

* OCSP stapling broken on 2.9.1, 2.9.2 & 3.0.0.

Modules

Package Version Latest available
NJS 0.3.6
Brotli master
Length Hiding Filter (my fork) master

Jemalloc provides Bzip tarballs. I convert them with bzcat < jemalloc.tar.bz2 | gzip --best > jemalloc.tar.gz. By default, jemalloc is now disabled since it causes boilerplate.

The script (nginx-zero) requires:

  • POSIX sh
  • gcc or clang >=3.5 (otherwise, ld: cannot find -l-user-{start,end})
  • tar
  • gzip
  • git
  • make
  • cmake
  • patch

To clone: git clone --recurse-submodules https://github.com/concatime/nginx-zero.git

To speed-up the clone process, add -j with the number of threads.

To install, download the release file called nginx.tar.gz, and then sudo tar xzf nginx.tar.gz -C /opt