In more PRs already done for have a perfect ejabberd.
Please update the ejabberd.yml with the example model and keep security options which are not in example:
5223 port must be an option like current 5269 port.
You can add options to enable MQTT too…