dashboard-with-http.conf.example 965 B

12345678910111213141516171819202122232425262728293031323334353637
  1. ## Dashboard on HTTP
  2. ##
  3. ## Configure HTTP for EMQX dashboard
  4. dashboard {
  5. ## JWT token expiration time
  6. token_expired_time = 60m
  7. ## Support Cross-Origin Resource Sharing (CORS)
  8. cors = false
  9. listeners.http {
  10. ## Port or Address to listen on, 0 means disable
  11. bind = "0.0.0.0:18083" ## or just a port number, e.g. 18083
  12. ## Socket acceptor pool size for TCP protocols
  13. num_acceptors = 8
  14. ## Maximum number of simultaneous connections
  15. max_connections = 512
  16. ## Defines the maximum length that the queue of pending connections can grow to
  17. backlog = 1024
  18. ## Send timeout for the socket
  19. send_timeout = 10s
  20. ## Enable IPv6 support, default is false, which means IPv4 only
  21. inet6 = false
  22. ## Disable IPv4-to-IPv6 mapping for the listener
  23. ipv6_v6only = false
  24. ## Enable support for `HAProxy` header
  25. proxy_header = false
  26. }
  27. }