Enabling listener for mod_http_upload breaks web_admin

I'm using ejabberd 17.04 installed with the binary installer in Ubuntu 16.04 LTS.

If I enable the listener for mod_http_upload, web_admin stops working. I had this working before with 16.01 installed from the default repositories.

Relevant ejabberd.yml settings:
web_admin listener:

  -
    port: 5280
    ip: "::"
    module: ejabberd_http
    request_handlers:
      "/websocket": ejabberd_http_ws
      "/api": mod_http_api
    ##  "/pub/archive": mod_http_fileserver
    web_admin: true
    http_bind: true
    ## register: true
    captcha: false

mod_http_upload listener:

  ##
  ## To enable secure http upload
  ##
  ## -
    port: 5444
    ip: "::"
    module: ejabberd_http
    request_handlers:
      "upload": mod_http_upload
    tls: true
    certfile: 'CERTFILE'
    protocol_options: 'TLSOPTS'
    ## dhfile: 'DHFILE'
    ## ciphers: 'CIPHERS'

mod_http_upload settings:

  mod_http_upload:
    ## docroot: "@HOME@/upload"
    put_url: "https://@HOST@:5444/upload"
    thumbnail: false # otherwise needs the identify command from ImageMagick installed
  mod_http_upload_quota:
    max_days: 30

Am I configuring something incorrectly?

As I was lying in bed a few

As I was lying in bed a few minutes ago trying to fall asleep, I realized that I hadn't uncommented the "-" before the port 5444 listener block in ejabberd.yml...

It was supposed to be:

  ##
  ## To enable secure http upload
  ##
  -
    port: 5444
    ip: "::"
    module: ejabberd_http
    request_handlers:
      "upload": mod_http_upload
    tls: true
    certfile: 'CERTFILE'
    protocol_options: 'TLSOPTS'
    ## dhfile: 'DHFILE'
    ## ciphers: 'CIPHERS'

The web_admin and mod_http_upload are both working now. I'm surprised there wasn't a YAML parsing error, but I guess that didn't trigger one.

Syndicate content