Skip to content

Dashboard Configuration

In EMQX, Dashboard is a web-based graphic interface to manage and monitor EMQX and connected devices in real time. You can configure the following Dashboard configuration items:

  • listeners
  • token_expired_time
  • cors
  • swagger_support
  • sso

For example, to configure swagger_support and a listener for the EMQX Dashboard for accepting all incoming connections, you can use the following configuration:

bash
dashboard {
  listeners {
    http {
      bind = "0.0.0.0:18083"
      max_connections = 512
    }
  swagger_support = true
  }
}

Where,

  • swagger_support = true is to enable all swagger-related features such as generating the Swagger API documentation. By default, its value is always true, and you can set the value to false to disable it.
  • bind = "0.0.0.0:18083" is to set the network address and port number that the listener will bind to. In this case, the listener will bind to all available network interfaces (0.0.0.0) on port 18083.
  • max_connections = 512 is to set the maximum number of concurrent connections that the listener will accept. In this case, the maximum number of connections is set to 512.

TIP

EMQX has offered more configuration items to serve customized needs better. For details, see Configuration Manual.