diff --git a/site-cookbooks/kosmos-ejabberd/templates/ejabberd.yml.erb b/site-cookbooks/kosmos-ejabberd/templates/ejabberd.yml.erb index 758ac6e..4d8cb70 100644 --- a/site-cookbooks/kosmos-ejabberd/templates/ejabberd.yml.erb +++ b/site-cookbooks/kosmos-ejabberd/templates/ejabberd.yml.erb @@ -40,6 +40,7 @@ listen: port: 5222 ip: "::" module: ejabberd_c2s + use_proxy_protocol: true starttls: true max_stanza_size: 65536 shaper: c2s_shaper @@ -48,6 +49,7 @@ listen: port: 5223 ip: "::" module: ejabberd_c2s + use_proxy_protocol: true tls: true max_stanza_size: 65536 shaper: c2s_shaper @@ -56,12 +58,14 @@ listen: port: 5269 ip: "::" module: ejabberd_s2s_in + use_proxy_protocol: true max_stanza_size: 131072 shaper: s2s_shaper - port: 5443 ip: "::" module: ejabberd_http + use_proxy_protocol: true request_handlers: "/ws": ejabberd_http_ws "/bosh": mod_bosh