From 0057b8dfb7bbdab347f3c498228210e60ab8a5cb Mon Sep 17 00:00:00 2001
From: Blallo <blallo@autistici.org>
Date: Tue, 15 Nov 2022 12:12:38 +0100
Subject: [PATCH] Try and exclude 5280 from proxy protocol proxied ports

---
 roles/prosody/templates/prosody.cfg.lua.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/prosody/templates/prosody.cfg.lua.j2 b/roles/prosody/templates/prosody.cfg.lua.j2
index cc77e1e4..70e6671d 100644
--- a/roles/prosody/templates/prosody.cfg.lua.j2
+++ b/roles/prosody/templates/prosody.cfg.lua.j2
@@ -62,7 +62,7 @@ modules_enabled = {
 }
 
 -- statistics and metrics
-http_ports = { 5282 }
+http_ports = { 5280, 5282 }
 http_interfaces = { "", "::" }
 --- The http_openmetrics module exposes the metrics gathered by this internal
 --- mechanism
@@ -84,7 +84,7 @@ s2s_ports = {5269}
 proxy_port_mappings = {
   [15222] = "c2s",
   [15269] = "s2s",
-  [15280] = "http"
+  -- [15280] = "http"
 }
 
 proxy_trusted_proxies = {
-- 
GitLab