memorysafety / river

This repository is the home of the River reverse proxy application, based on the pingora library from Cloudflare.

Home Page:https://www.memorysafety.org/initiative/reverse-proxy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create tool that translates Nginx configs to River configs

bdaehlie opened this issue · comments

To make it easy for folks to move from Nginx to River we should create a tool that translates Nginx configs to River configs.

Seems reasonable to me! I think this will come later after we have more config infra up and going, but I think it's a very reasonable tool to have, either inside or outside of River.

If anyone is aware of an existing NGINX configuration file parser in Rust, or a good reference to writing one, please feel free to share.

Tagging the first RFC regarding config here: #13

It's likely that a text-only format (like TOML) will not be able to express all options that NGINX configs do.

We may need to select a specific subset, or wait for the "more complex" config option to be developed later.