prometheus-node-exporter-lua: add HTTPS support

With valid 'cert'/'key' config, prometheus-node-exporter-lua
will respond to https instead of http on 'listen_port'.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
Etienne Champetier
2025-06-23 10:19:03 -04:00
parent 377f537aa3
commit 73f9b9ab79
3 changed files with 18 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
config prometheus-node-exporter-lua 'main'
option listen_interface 'loopback'
option listen_port '9100'
#option cert '/etc/uhttpd.crt'
#option key '/etc/uhttpd.key'