Open misku opened 6 years ago
This is great, thanks! Just a couple of notes.
enableHTTPserver
still enables the http server. Otherwise it will break current installs after an upgrade. This is an easy way to keep some backwards compat.Sure, no problem. I'm glad you like it.
Configuration example:
type: "http" | "https" (default: "http") port: (default 8282) cert: path to server certificate key : path to private key
If "http_server" key is missing, no HTTP server will be started. If "type" == "https" && ("cert" || "key" is missing or corrupted) an error will be thrown.