river icon indicating copy to clipboard operation
river copied to clipboard

New Configuration MUST/MAY - Validate configuration file

Open dol opened this issue 1 year ago • 0 comments

While reading the https://github.com/memorysafety/river/blob/main/docs/what-is-it.md#26---configuration requirements I noticed, that the possibility to validate a configuration file is missing. This would help prevent restart failures where the configuration file is invalid and the changes aren't applied to the server or the server won't even start due to a wrong configuration.

Other reverse proxies support this option.

A typical Linux init script will check the config before performing a restart.

E.g.

It would be nice if River could follow this pattern and supports a built-in validation command line option.

dol avatar Mar 01 '24 22:03 dol