Skip to content

Commit

Permalink
Listen both on ipv6 to ipv4 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl authored Nov 2, 2023
1 parent c035a81 commit 0df7ce8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions imageroot/templates/ejabberd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ certfiles:
listen:
-
port: 5222
ip: "0.0.0.0"
ip: "::"
module: ejabberd_c2s
protocol_options: 'TLSOPTS'
starttls: true
Expand All @@ -40,7 +40,7 @@ listen:
dhfile: "/home/ejabberd/conf/dh.pem"
-
port: 5223
ip: "0.0.0.0"
ip: "::"
module: ejabberd_c2s
access: c2s
shaper: c2s_shaper
Expand All @@ -51,7 +51,7 @@ listen:
dhfile: "/home/ejabberd/conf/dh.pem"
-
port: 5280
ip: "0.0.0.0"
ip: "::"
module: ejabberd_http
tls: true
request_handlers:
Expand All @@ -68,7 +68,7 @@ listen:
{%if s2s %}
-
port: 5269
ip: "0.0.0.0"
ip: "::"
module: ejabberd_s2s_in
max_stanza_size: 131072
shaper: s2s_shaper
Expand All @@ -79,7 +79,7 @@ listen:
{%if http_upload %}
-
port: 5443
ip: "0.0.0.0"
ip: "::"
module: ejabberd_http
tls: true
protocol_options: 'TLSOPTS'
Expand Down Expand Up @@ -150,21 +150,21 @@ api_permissions:
who:
- access:
- allow:
- ip: "0.0.0.0"
- ip: "::"
- acl: admin
- oauth:
- scope: "ejabberd:admin"
- access:
- allow:
- ip: "0.0.0.0"
- ip: "::"
- acl: admin
what:
- "*"
- "!stop"
- "!start"
"public commands":
who:
- ip: "0.0.0.0"
- ip: "::"
what:
- "status"
- "connected_users_number"
Expand All @@ -181,7 +181,7 @@ acl:
user_regexp: ""
loopback:
ip:
- "0.0.0.0"
- "::"

shaper:
normal: {{shaper_normal}}
Expand Down

0 comments on commit 0df7ce8

Please sign in to comment.