Skip to content

About

Drop-in nginx binary replacement — mirror of crates/bext-nginx-shim

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

bext-nginx-shim

Drop-in nginx binary replacement that translates the nginx CLI to bext operations.

Part of the bext stack.

[dependencies]
bext-nginx-shim = "0.2"

What this crate is

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.

Install

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 shim

Paired with bext-nginx-compat

The 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.

License

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.

See also

About

Drop-in nginx binary replacement — mirror of crates/bext-nginx-shim

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages