docs: remove `enable` from config examples

Fixes https://emqx.atlassian.net/browse/EMQX-12730
This commit is contained in:
Thales Macedo Garitezi 2024-07-19 12:26:23 -03:00
parent 69f5b6fa6c
commit d7112921a6
18 changed files with 1 additions and 45 deletions

View File

@ -3,9 +3,6 @@
## NOTE: This configuration is only applicable in EMQX Enterprise edition 5.1 or later.
file_transfer {
## Enable the File Transfer feature
enable = true
## Storage backend settings
storage {
## Local file system backend setting

View File

@ -4,9 +4,6 @@
## Note: This configuration is only applicable for EMQX Enterprise edition 5.1 or later.
file_transfer {
## Enable the File Transfer feature
enable = true
## Storage backend settings
storage {
## Local file system backend setting
@ -51,8 +48,6 @@ file_transfer {
## Enable the HTTPS
transport_options {
ssl.enable = true
## Timeout for connection attempts
connect_timeout = 15s
}

View File

@ -7,8 +7,6 @@
## you should copy and paste the below data into the emqx.conf for working
delayed {
enable = true ## false for disabled
## Maximum number of delayed messages
## Default: 0 (0 is no limit)
max_delayed_messages = 0

View File

@ -7,9 +7,6 @@ exhook.servers = [
## Name of the exhook server
name = "server_1"
## Feature switch
enable = false
## URL of gRPC server
url = "http://127.0.0.1:9090"

View File

@ -3,9 +3,6 @@
## Ban the client when the times of connections exceed the limit in the configured time window
flapping_detect {
## use 'true' to enable this feature
enable = false
## Time window for flapping detection
window_time = 1m

View File

@ -1,9 +1,6 @@
## Force Elrang VM garbage collection
force_gc {
## set 'false' to disable this feature
enable = true
## GC the process after this many received messages
count = 16000

View File

@ -3,9 +3,6 @@
## Forced shutdown MQTT clients for overload protection
force_shutdown {
## set 'false' to disable force shutdown feature
enable = true
## Maximum mailbox size for each Erlang process
## Note: Do not modify this unless you know what this is for
max_mailbox_size = 1000

View File

@ -16,7 +16,6 @@ gateway.exproto {
## Configurations for request to ConnectionHandler service
handler {
address = "http://127.0.0.1:9001"
ssl_options {enable = false}
}
listeners.tcp.default {

View File

@ -3,7 +3,6 @@
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"
enabled = true
acceptors = 16
enable_authn = true
max_connections = infinity

View File

@ -3,7 +3,6 @@
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
enabled = true
enable_authn = true
max_connections = infinity
proxy_protocol = false

View File

@ -3,7 +3,6 @@
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"
enabled = true
enable_authn = true
max_connections = infinity
proxy_protocol = false

View File

@ -1,9 +1,6 @@
## Log to console
log.console {
## set true to enable this
enable = false
## Log level
## Type: debug | info | notice | warning | error | critical | alert | emergency
level = warning

View File

@ -1,9 +1,6 @@
## Log to file
log.file {
## Enable file log handler
enable = true
## Log level
## Type: debug | info | notice | warning | error | critical | alert | emergency
level = warning

View File

@ -9,10 +9,8 @@ plugins {
## Format: {name}-{version}
## Note: name and version should be what it is in the plugin application
name_vsn = "my_acl-0.1.0",
enable = true ## enable this plugin
},
{name_vsn = "my_rule-0.1.1", enable = false}
{name_vsn = "my_rule-0.1.1"}
]
## The installation directory for the external plugins

View File

@ -5,9 +5,6 @@
## If you want to use push-gateway
prometheus {
## Set to true to make EMQX send metrics to push-gateway
enable = false
## URL of push-gateway server
push_gateway_server = "http://127.0.0.1:9091"

View File

@ -7,7 +7,6 @@
prometheus {
enable_basic_auth = false
push_gateway {
enable = false
url = "http://127.0.0.1:9091"
headers {Authorization = "Basic YWRtaW46Y2JraG55eWd5QDE="}
interval = 15s

View File

@ -1,9 +1,6 @@
## Pre-Shared Keys authentication
psk_authentication {
## Set to false to disable
enable = true
## If init_file is specified, EMQX will import PSKs from the file into the built-in database at startup for use by the runtime
init_file = "psk"

View File

@ -5,9 +5,6 @@
##--------------------------------------------------------------------
retainer {
## set to false to disable retainer
enable = true
## Message retention time, default is 0 means the message will never expire
msg_expiry_interval = 5s