Use proxy protocol

This commit is contained in:
Râu Cao 2023-03-24 16:35:23 +07:00
parent a2fc3ba25c
commit 6e31c7a79b
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -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