nginxinc / ngx-rust

Rust binding for NGINX
Apache License 2.0
713 stars 59 forks source link

feat: (2 of 2) Upstream module example #37

Closed f5yacobucci closed 10 months ago

f5yacobucci commented 1 year ago

Upstream example

Simply replaces peer functions with passthrough versions, i.e., proxies traffic through this module to originally configured upstream functions.

Useful as a guide and example, but does not add load balancing algorithms.

Fixes #30 (replaces PR #35)

Checklist

Before creating a PR, run through this checklist and mark each as complete.