river icon indicating copy to clipboard operation
river copied to clipboard

Create tool that translates Nginx configs to River configs

Open bdaehlie opened this issue 1 year ago • 3 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.

bdaehlie avatar Mar 07 '24 17:03 bdaehlie

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 avatar Mar 25 '24 09:03 jamesmunns

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.

jamesmunns avatar Mar 26 '24 13:03 jamesmunns

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

zackarychapple avatar Sep 19 '24 13:09 zackarychapple