Skip to content

About

Nginx config parser and drop-in replacement for bext — mirror of crates/bext-nginx-compat in the private monorepo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bext-nginx-compat

Nginx configuration parser for bext — drop-in replacement that serves your existing nginx.conf unchanged.

Part of the bext stack.

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

What this crate is

bext-nginx-compat parses nginx configuration files and converts them to bext's internal representation. Used by the bext server to masquerade as nginx — point bext at your existing nginx.conf and it serves the same sites, with zero config changes.

68 of 70 mainstream nginx directives are supported. The two missing ones are niche features; see the docs for the exact compatibility matrix.

Use cases

  • Migrating from nginx — swap your nginx binary for bext, keep your config.
  • Running nginx configs under bext — get bext's caching, SSR, and platform features while preserving your existing reverse-proxy setup.
  • Testing nginx config changes — parse configs in CI and get typed errors.

Paired with bext-nginx-shim

bext-nginx-shim is a thin binary that translates nginx CLI commands (nginx -s reload, nginx -t, etc.) to bext operations. Install it as a drop-in replacement for /usr/sbin/nginx and existing systemd units, deploy scripts, and CI pipelines keep working without changes.

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

Nginx config parser and drop-in replacement for bext — mirror of crates/bext-nginx-compat in the private monorepo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages