From 7b5895c90d4c94a52254a0b6c22cb29c31a5742b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Fri, 9 Jun 2017 13:57:26 +0200 Subject: [PATCH] Allow api access on both ipv4 and 6 loopback addresses This should fix issue #1769 --- ejabberd.yml.example | 7 ++++--- 1 file 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"