gateway.exproto.conf.example 973 B

12345678910111213141516171819202122232425262728293031
  1. ##--------------------------------------------------------------------
  2. ## Gateway Exproto
  3. ##
  4. ## Add an Exproto gateway
  5. ##--------------------------------------------------------------------
  6. ## Note: This is an example of how to configure this feature
  7. ## you should copy and paste the below data into the emqx.conf for working
  8. gateway.exproto {
  9. ## When publishing or subscribing, prefix all topics with a mountpoint string.
  10. ## It's a way that you can use to implement isolation of message routing between different
  11. ## gateway protocols
  12. mountpoint = "exproto/"
  13. ## Configurations for starting the ConnectionAdapter service
  14. server {
  15. bind = "0.0.0.0:9100"
  16. ssl_options {verify = "verify_none"}
  17. }
  18. ## Configurations for request to ConnectionHandler service
  19. handler {
  20. address = "http://127.0.0.1:9001"
  21. ssl_options {enable = false}
  22. }
  23. listeners.tcp.default {
  24. bind = "0.0.0.0:7993"
  25. }
  26. }