mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Allow api access on both ipv4 and 6 loopback addresses
This should fix issue #1769
This commit is contained in:
parent
115cb23bd8
commit
7b5895c90d
@ -487,6 +487,7 @@ acl:
|
|||||||
loopback:
|
loopback:
|
||||||
ip:
|
ip:
|
||||||
- "127.0.0.0/8"
|
- "127.0.0.0/8"
|
||||||
|
- "::1/128"
|
||||||
|
|
||||||
##
|
##
|
||||||
## Bad XMPP servers
|
## Bad XMPP servers
|
||||||
@ -589,14 +590,14 @@ api_permissions:
|
|||||||
who:
|
who:
|
||||||
- access:
|
- access:
|
||||||
- allow:
|
- allow:
|
||||||
- ip: "127.0.0.1/8"
|
- acl: loopback
|
||||||
- acl: admin
|
- acl: admin
|
||||||
- oauth:
|
- oauth:
|
||||||
- scope: "ejabberd:admin"
|
- scope: "ejabberd:admin"
|
||||||
- access:
|
- access:
|
||||||
- allow:
|
- allow:
|
||||||
- ip: "127.0.0.1/8"
|
- acl: loopback
|
||||||
- acl: admin
|
- acl: admin
|
||||||
what:
|
what:
|
||||||
- "*"
|
- "*"
|
||||||
- "!stop"
|
- "!stop"
|
||||||
|
Loading…
Reference in New Issue
Block a user