Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2017-06-09 14:57:26 +0300
committerPaweł Chmielowski <pchmielowski@process-one.net>2017-06-09 14:57:26 +0300
commit7b5895c90d4c94a52254a0b6c22cb29c31a5742b (patch)
treeeb6f5b3432055961b6e04859ea6f9f4f69a2493f /ejabberd.yml.example
parent115cb23bd8a3b68a6188dbe6dab0c2a83704adfa (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.example7
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"