fix(config-examples): fix bad configs
prior to this commit, the provided configs are not type-checked
This commit is contained in:
parent
03d05825db
commit
0428d91aa4
|
@ -72,7 +72,7 @@ listeners.ssl.my_ssl_listener_name {
|
||||||
ocsp {
|
ocsp {
|
||||||
enable_ocsp_stapling = false
|
enable_ocsp_stapling = false
|
||||||
responder_url = "http://ocsp.example.com"
|
responder_url = "http://ocsp.example.com"
|
||||||
issuer_pem = true
|
issuer_pem = "${EMQX_ETC_DIR}/certs/ocsp-issuer-cert.pem"
|
||||||
refresh_http_timeout = 15s
|
refresh_http_timeout = 15s
|
||||||
refresh_interval = 5m
|
refresh_interval = 5m
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ node {
|
||||||
## Path to the persistent data directory.
|
## Path to the persistent data directory.
|
||||||
## This config is pre-filled when the EMQX distribution package is built.
|
## This config is pre-filled when the EMQX distribution package is built.
|
||||||
## You are advised to use the default value.
|
## You are advised to use the default value.
|
||||||
#data_dir = "data" # when running a zip package or in docker container
|
data_dir = "data" # when running a zip package or in docker container
|
||||||
#data_dir = "/var/lib/emqx" # when installed from deb/rpm packages
|
#data_dir = "/var/lib/emqx" # when installed from deb/rpm packages
|
||||||
|
|
||||||
## Type: Periodic garbage collection interval
|
## Type: Periodic garbage collection interval
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
## Plugin management
|
## Plugin management
|
||||||
plugin {
|
plugins {
|
||||||
## Plugins declaration
|
## Plugins declaration
|
||||||
## Note: The plugins are started in the defined order
|
## Note: The plugins are started in the defined order
|
||||||
states = [
|
states = [
|
Loading…
Reference in New Issue