mod_bosh

Hi. how to configure mod_bosh on port 5280 for rest_api?

in 16.04

  -
    port: 5280
    module: ejabberd_http
    request_handlers:
      "/api": mod_http_api
    web_admin: true
    http_bind: true
    ## register: true
    captcha: false

acl:
  admin_ip_acl:
    ip:
      - "127.0.0.1/8"
      - "192.168.1.1/32"

  admin:
    user:
      - "jabber1": "domain.com"
      - "admin": "domain.com"
      - "jabber2": "domain.com"

access:
  admin_ip_access_rule:
    admin_ip_acl:
      - connected_users
      - status
#########################################
modules:
  mod_http_bind: {}
  mod_http_api:
    admin_ip_access: admin_ip_access_rule

but in 17.01 in I can't do that.
thanks in advance

Syndicate content