Mercurial > prosody-modules
comparison mod_net_proxy/README.markdown @ 2974:cd36b16f6b35
mod_net_proxy: Updated HAProxy example configuration to listen on v4+v6
author | Pascal Mathis <mail@pascalmathis.com> |
---|---|
date | Sun, 01 Apr 2018 22:41:40 +0200 |
parents | 1c336d0d0214 |
children | 9d65eb3fcb15 |
comparison
equal
deleted
inserted
replaced
2973:a457fff04f1d | 2974:cd36b16f6b35 |
---|---|
132 timeout connect 5s | 132 timeout connect 5s |
133 timeout client 24h | 133 timeout client 24h |
134 timeout server 60m | 134 timeout server 60m |
135 | 135 |
136 frontend f-xmpp | 136 frontend f-xmpp |
137 bind :5222,:5269 | 137 bind :::5222,:::5269 v4v6 |
138 use_backend b-xmpp-c2s if { dst_port eq 5222 } | 138 use_backend b-xmpp-c2s if { dst_port eq 5222 } |
139 use_backend b-xmpp-s2s if { dst_port eq 5269 } | 139 use_backend b-xmpp-s2s if { dst_port eq 5269 } |
140 | 140 |
141 backend b-xmpp-c2s | 141 backend b-xmpp-c2s |
142 balance roundrobin | 142 balance roundrobin |