Drop-in nginx binary replacement that translates the nginx CLI to bext operations.
Part of the bext stack.
[dependencies]
bext-nginx-shim = "0.2"bext-nginx-shim is a thin binary replacement for /usr/sbin/nginx. It
understands the nginx CLI surface (nginx -s reload, nginx -t,
nginx -V, nginx -c, etc.) and translates each command into the
equivalent bext operation. Systemd units, deploy scripts, and CI pipelines
that call nginx keep working without any changes.
cargo install bext-nginx-shim
sudo mv /usr/sbin/nginx /usr/sbin/nginx.real
sudo ln -s $(which bext-nginx-shim) /usr/sbin/nginx
sudo systemctl reload nginx # reloads bext via the shimThe shim is a thin layer on top of bext-nginx-compat,
which parses the nginx configuration. Install both to get the full drop-in
replacement experience.
Business Source License 1.1 — see LICENSE.md in this crate for the full text.
In plain English: production use on your own infrastructure is fully permitted. You may NOT offer this crate to third parties as a hosted or managed service that provides access to a substantial set of its features.
Change Date: 2030-04-11. On that date this crate automatically converts to the MIT License with no further restrictions.
Questions about commercial licensing? Open an issue at
github.com/bext-stack/bext with
the licensing label.
- github.com/bext-stack/bext — the bext meta repo
- Full ecosystem — all bext crates at a glance