linux版本emqx的18083登录网页服务能不能做https支持


我之前在服务器上部署了emqx,现在我要部署一个网站。用微信访问时会被拦截,图中是申诉处理结果,18083端口打开就是

。能不能修改emqx的配置让它强制使用https?目前在服务器上是无法通过Nginx再配置已经被占用的18083端口的。或者是能不能修改它的web访问配置

这里可以配置 https 的
上面是配置项说明,下面是喂饭版

dashboard {
  listeners {
    http {     
      bind =0     
    }
    https {
      backlog = 1024
      bind = 18083
      inet6 = false
      ipv6_v6only = false
      max_connections = 512
      num_acceptors = 8
      proxy_header = false
      send_timeout = "10s"
      ssl_options {
        cacertfile = "${EMQX_ETC_DIR}/certs/cacert.pem"
        certfile = "${EMQX_ETC_DIR}/certs/cert.pem"
        keyfile = "${EMQX_ETC_DIR}/certs/key.pem"
        ciphers = []
        client_renegotiation = true
        depth = 10
        fail_if_no_peer_cert = false
        handshake_timeout = "15s"
        hibernate_after = "5s"
        honor_cipher_order = true        
        log_level = notice
        reuse_sessions = true
        secure_renegotiate = true
        verify = verify_none
        versions = [
          "tlsv1.3",
          "tlsv1.2"
        ]
      }
    }
  }
  swagger_support = true
  token_expired_time = "60m"
}

记得把cacertfile certfile keyfile 设置为你自己的证书。