memorysafety / river

This repository is the home of the River reverse proxy application, based on the pingora library from Cloudflare.
https://www.memorysafety.org/initiative/reverse-proxy/
Apache License 2.0
1.82k stars 106 forks source link

Create tool that translates Nginx configs to River configs #5

Open bdaehlie opened 8 months ago

bdaehlie commented 8 months ago

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

jamesmunns commented 7 months ago

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.

jamesmunns commented 7 months ago

Tagging the first RFC regarding config here: https://github.com/memorysafety/river/issues/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.

zackarychapple commented 1 month ago

Just discovered this project and it is the first issue I looked for. Huge thumbs up.