Repository navigation
rusty-conduit v2.1.0
Changed
validatenow also checks the files your configuration names, as startup would: it loads the MITM CA (files, passphrase, validity, and that the key matches the certificate), checks that each log file can be opened without creating it, and prints the open-fileNOTICEstartup would log.config OKnow means the configuration will not stop the proxy at startup.
New
validate --settings-onlykeeps the previous behaviour and checks only the settings. Use it where the files exist only on the server, for example in CI.
Docs
- The Docker guide suggests
--restart on-failure:5(Compose:restart: on-failure:5) while you set things up, so a broken configuration stops after five failed starts instead of restarting forever.
If you run validate somewhere the CA or log directory does not exist, add --settings-only.