Просмотр исходного кода

docs: remove 0 means disalbe comment from example configs

zmstone 1 год назад
Родитель
Сommit
fc041c064e

+ 1 - 1
rel/config/examples/dashboard-with-http.conf.example

@@ -10,7 +10,7 @@ dashboard {
     cors = false
     cors = false
 
 
     listeners.http {
     listeners.http {
-        ## Port or Address to listen on, 0 means disable
+        # bind = 0 to disable this listener
         bind = "0.0.0.0:18083" ## or just a port number, e.g. 18083
         bind = "0.0.0.0:18083" ## or just a port number, e.g. 18083
 
 
         ## Socket acceptor pool size for TCP protocols
         ## Socket acceptor pool size for TCP protocols

+ 1 - 1
rel/config/examples/dashboard-with-https.conf.example

@@ -10,7 +10,7 @@ dashboard {
     cors = false
     cors = false
 
 
     listeners.https {
     listeners.https {
-        ## Port or Address to listen on, 0 means disable
+        # bind = 0 to disable this listener
         bind = "0.0.0.0:18084" ## or just a port number, e.g. 18084
         bind = "0.0.0.0:18084" ## or just a port number, e.g. 18084
 
 
         ssl_options {
         ssl_options {

+ 0 - 1
rel/config/examples/listeners.quic.conf.example

@@ -1,7 +1,6 @@
 ## MQTT over QUIC Listener
 ## MQTT over QUIC Listener
 
 
 listeners.quic.my_quick_listener_name {
 listeners.quic.my_quick_listener_name {
-    ## Port or Address to listen on, 0 means disable
     bind = 14567 ## or with an IP, e.g. "127.0.0.1:14567"
     bind = 14567 ## or with an IP, e.g. "127.0.0.1:14567"
 
 
     ## When publishing or subscribing, prefix all topics with a mountpoint string
     ## When publishing or subscribing, prefix all topics with a mountpoint string

+ 0 - 1
rel/config/examples/listeners.ssl.conf.example

@@ -1,7 +1,6 @@
 ## MQTT over TLS(SSL) Listener
 ## MQTT over TLS(SSL) Listener
 
 
 listeners.ssl.my_ssl_listener_name {
 listeners.ssl.my_ssl_listener_name {
-    ## Port or Address to listen on, 0 means disable
     bind = 8883 ## or with an IP e.g. "127.0.0.1:8883"
     bind = 8883 ## or with an IP e.g. "127.0.0.1:8883"
     acceptors = 16
     acceptors = 16
     enable_authn = true
     enable_authn = true

+ 0 - 1
rel/config/examples/listeners.tcp.conf.example

@@ -1,7 +1,6 @@
 ## MQTT over TCP Listener
 ## MQTT over TCP Listener
 
 
 listeners.tcp.my_tcp_listener_name {
 listeners.tcp.my_tcp_listener_name {
-    ## Port or Address to listen on, 0 means disable
     bind = 1883 ## or with an IP e.g. "127.0.0.1:1883"
     bind = 1883 ## or with an IP e.g. "127.0.0.1:1883"
 
 
     ## Enable the Proxy Protocol V1/2 if the EMQX cluster is deployed behind HAProxy or Nginx
     ## Enable the Proxy Protocol V1/2 if the EMQX cluster is deployed behind HAProxy or Nginx

+ 0 - 1
rel/config/examples/listeners.ws.conf.example

@@ -1,7 +1,6 @@
 ## MQTT over WebSocket (HTTP) Listener
 ## MQTT over WebSocket (HTTP) Listener
 
 
 listeners.ws.my_ws_listener_name {
 listeners.ws.my_ws_listener_name {
-    ## Port or Address to listen on, 0 means disable
     bind = "0.0.0.0:8083" # or just a port number, e.g. 8083
     bind = "0.0.0.0:8083" # or just a port number, e.g. 8083
     enable_authn = true
     enable_authn = true
     max_connections = infinity
     max_connections = infinity

+ 0 - 1
rel/config/examples/listeners.wss.conf.example

@@ -1,7 +1,6 @@
 ## MQTT over Secured Websocket (HTTPS) Listener
 ## MQTT over Secured Websocket (HTTPS) Listener
 
 
 listeners.wss.my_wss_listener_name = {
 listeners.wss.my_wss_listener_name = {
-    ## Port or Address to listen on, 0 means disable
     bind = 8084 ## or with an IP, e.g. "127.0.0.1:8084"
     bind = 8084 ## or with an IP, e.g. "127.0.0.1:8084"
     enable_authn = true
     enable_authn = true
     max_connections = infinity
     max_connections = infinity