Skip to content
Snippets Groups Projects
Verified Commit 8de737bf authored by blallo's avatar blallo
Browse files

Serve http on 5282

parent cd4d4216
Branches
No related tags found
1 merge request!196Prosody metrics
......@@ -37,6 +37,7 @@ modules_enabled = {
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
-- HTTP modules
"http"; -- Needed to serve the metrics
"http_files"; -- Serve static files from a directory over HTTP
-- "http_upload"; -- Enable XEP-0363 which let clients upload files over HTTP
"http_upload_external"; -- Enable XEP-0363, which lets clients upload files over HTTP to an external web server.
......@@ -61,9 +62,10 @@ modules_enabled = {
}
-- statistics and metrics
http_ports = { 5282 }
http_interfaces = { "", "::" }
--- The http_openmetrics module exposes the metrics gathered by this internal
--- mechanism
statistics = "internal"
-- this is fine iff we have only one Prometheus instance
statistics_interval = "manual"
......
......@@ -12,6 +12,7 @@ jabber:
- 5222
- 5269
- 5280
- 5282
- 15222
- 15269
- 15280
......@@ -60,7 +61,7 @@ jabber:
compress: true
monitoring_endpoints:
- port: 5280
- port: 5282
scheme: http
systemd_services:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment