chore: fix errors in the example for the file transfer configuration

This commit is contained in:
firest 2023-06-20 18:13:49 +08:00
parent 53fdda8eef
commit 528f49aa2e
2 changed files with 11 additions and 10 deletions

View File

@ -48,7 +48,7 @@ file_transfer {
## Credentials to use to authorize with the S3 API
access_key_id = "AKIA27EZDDM9XLINWXFE"
secret_access_key = "..."
secret_access_key = "******"
## Which bucket to store transferred files in?
bucket = "my-bucket"
@ -57,15 +57,16 @@ file_transfer {
url_expire_time = 1h
## Enable the HTTPS
transport_options.ssl.enable = true
transport_options {
ssl.enable = true
## Timeout for connection attempts
connect_timeout = 15s
## Timeout for connection attempts
connect_timeout = 15s
## Attempt to talk through IPv6 first
ipv6_probe = true
}
## Attempt to talk through IPv6 first
ipv6_probe = true
}
}
}
}
}

View File

@ -7,8 +7,8 @@
## you should copy and paste the below data into the emqx.conf for working
flapping_detect {
## Feature switch
enable = false
## use false to disabled
enable = true
## Time window for flapping detection
window_time = 1m