Closed and0x000 closed 4 years ago
I think it would be a good idea, to allow the specification of an address to which PrometheusExporter::WebServer should bind to.
See WEBrick::HTTPServer -> :BindAddress
Going a step further, binding to localhost only should probably become the default behavior. This is the way, several other pieces of software do it to avoid unintended insecure configurations.
localhost
I am fine for starters for this to be configurable and documented, care to post a PR?
I think it would be a good idea, to allow the specification of an address to which PrometheusExporter::WebServer should bind to.
See WEBrick::HTTPServer -> :BindAddress
Going a step further, binding to
localhost
only should probably become the default behavior. This is the way, several other pieces of software do it to avoid unintended insecure configurations.