emqx/examples/gateway.exproto.conf.example

32 lines
973 B
Plaintext

##--------------------------------------------------------------------
## Gateway Exproto
##
## Add an Exproto gateway
##--------------------------------------------------------------------
## Note: This is an example of how to configure this feature
## you should copy and paste the below data into the emqx.conf for working
gateway.exproto {
## When publishing or subscribing, prefix all topics with a mountpoint string.
## It's a way that you can use to implement isolation of message routing between different
## gateway protocols
mountpoint = "exproto/"
## Configurations for starting the ConnectionAdapter service
server {
bind = "0.0.0.0:9100"
ssl_options {verify = "verify_none"}
}
## Configurations for request to ConnectionHandler service
handler {
address = "http://127.0.0.1:9001"
ssl_options {enable = false}
}
listeners.tcp.default {
bind = "0.0.0.0:7993"
}
}