Skip to content
@sysadmin-labs

Sysadmin labs

Tools, modules and plugins for sysadmins

Sysadmin labs

Modules for nginx, built and tested on FreeBSD and Linux.

nginx modules

Fourteen repositories, fifteen modules -- nginx-sts-module ships two, one for each subsystem it works in. They all carry the same checks: the release matrix of nginx versions, a FreeBSD virtual machine, address and undefined behaviour sanitizers, valgrind, CodeQL, shellcheck and actionlint. Most add eight reloads in a row and one gate that belongs to that module alone, from a hostile client to a collector that takes its datagrams apart — nginx-fips-check-module has neither, because it allocates nothing per cycle and answers no request, so there would be nothing for either to measure.

Module What it does
nginx-accept-language-module Picks a language for the request out of Accept-Language, weights respected, into a variable
nginx-fips-check-module Reports whether the OpenSSL nginx is linked against runs in FIPS mode, and stops a worker that disagrees
nginx-form-input-module Parses application/x-www-form-urlencoded request bodies into nginx variables
nginx-gridfs-module Serves files out of MongoDB GridFS, byte ranges included
nginx-iconv-module Converts between character encodings with iconv(3): a value into a variable, or a whole response body
nginx-json-status-module Reports the connection and request counters and every upstream as one JSON object
nginx-let-module Evaluates an arithmetic or string expression into a variable
nginx-postgres-module Queries PostgreSQL directly and answers with text, JSON or a status code
nginx-redis2-module Sends commands to Redis and answers with the raw reply
nginx-sflow-module Samples requests and sends them as sFlow datagrams
nginx-slowfs-cache-module Caches files served from a slow filesystem onto a fast one
nginx-sts-module Counts what goes through the stream subsystem and serves the counters as JSON, a Prometheus exposition or an HTML dashboard
nginx-websockify-module Bridges a WebSocket to a plain TCP service, a VNC server for example
nginx-zstd-module Zstandard: an output filter, and a server for precompressed .zst files

Some of these were written here. The rest were taken over because the repositories they came from stopped moving, in some cases a decade ago, while the FreeBSD ports tree still pointed at them. Each repository's LICENSE says whose code is in it; where that is somebody else's licence, it is theirs and it stayed.

Each repository has a CHANGELOG.md, a release, and build instructions in its README.

nginx, and the rest of the family

nginx is what is built and tested in continuous integration today, against the releases the FreeBSD ports tree ships. Angie and OpenResty are of interest and are not tested here yet.

Links

  • Blog and write-ups: blog.bsdproject.de
  • Bugs and requests: issues on the repository in question

License

Each module carries the licence of its own code, and the LICENSE in its repository is the one that applies — four of them are not BSD, because their authors chose otherwise. What was written here, including the build and test scaffolding, is BSD 2-Clause.

Popular repositories Loading

  1. nginx-form-input-module nginx-form-input-module Public

    NGINX module that parses application/x-www-form-urlencoded request bodies into nginx variables

    C

  2. nginx-zstd-module nginx-zstd-module Public

    Two nginx modules for Zstandard: an output filter and a server for precompressed .zst files

    C

  3. nginx-let-module nginx-let-module Public

    nginx module that evaluates an arithmetic or string expression into a variable

    C

  4. nginx-slowfs-cache-module nginx-slowfs-cache-module Public

    nginx module that caches files served from a slow filesystem onto a fast one

    C

  5. .github .github Public

    Tools, modules and plugins for web servers, mail and identity. FreeBSD and Linux

  6. nginx-json-status-module nginx-json-status-module Public

    nginx module that reports the connection and request counters and every upstream as one JSON object

    Shell

Repositories

Showing 10 of 15 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…