How to configure HTTPS in ejabberd 17.09

How to configure HTTPS in ejabberd 17.09 ?

Please provide the documentation.

If you have something like

If you have something like this:

    listen:
      -
        port: 5281
        ip: "127.0.0.1"
        module: ejabberd_http
        web_admin: true
        http_bind: true

then add the starttls and certfile options, like this:

    listen:
      -
        port: 5281
        ip: "127.0.0.1"
        module: ejabberd_http
        web_admin: true
        http_bind: true
        tls: true
        certfile: "/etc/ejabberd/server.pem"

See https://docs.ejabberd.im/admin/configuration/#examples

Syndicate content