diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2017-06-09 14:57:26 +0300 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2017-06-09 14:57:26 +0300 |
commit | 7b5895c90d4c94a52254a0b6c22cb29c31a5742b (patch) | |
tree | eb6f5b3432055961b6e04859ea6f9f4f69a2493f /ejabberd.yml.example | |
parent | 115cb23bd8a3b68a6188dbe6dab0c2a83704adfa (diff) |
Allow api access on both ipv4 and 6 loopback addresses
This should fix issue #1769
Diffstat (limited to 'ejabberd.yml.example')
-rw-r--r-- | ejabberd.yml.example | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example index 638588998..87b0b81a4 100644 --- a/ejabberd.yml.example +++ b/ejabberd.yml.example @@ -487,6 +487,7 @@ acl: loopback: ip: - "127.0.0.0/8" + - "::1/128" ## ## Bad XMPP servers @@ -589,14 +590,14 @@ api_permissions: who: - access: - allow: - - ip: "127.0.0.1/8" + - acl: loopback - acl: admin - oauth: - scope: "ejabberd:admin" - access: - allow: - - ip: "127.0.0.1/8" - - acl: admin + - acl: loopback + - acl: admin what: - "*" - "!stop" |