chore: change config seq
This commit is contained in:
parent
59182ee0fc
commit
3cd9ca7067
|
@ -7,9 +7,10 @@ and a superset of JSON.
|
||||||
EMQX configuration consists of two layers.
|
EMQX configuration consists of two layers.
|
||||||
From bottom up:
|
From bottom up:
|
||||||
|
|
||||||
1. Immutable base: `emqx.conf` + `EMQX_` prefixed environment variables.<br/>
|
1. Cluster configs: `$EMQX_NODE__DATA_DIR/configs/cluster.hocon`
|
||||||
|
2. `emqx.conf` + `EMQX_` prefixed environment variables.<br/>
|
||||||
Changes in this layer require a full node restart to take effect.
|
Changes in this layer require a full node restart to take effect.
|
||||||
2. Cluster overrides: `$EMQX_NODE__DATA_DIR/configs/cluster.hocon`
|
|
||||||
|
|
||||||
When environment variable `$EMQX_NODE__DATA_DIR` is not set, config `node.data_dir`
|
When environment variable `$EMQX_NODE__DATA_DIR` is not set, config `node.data_dir`
|
||||||
is used.
|
is used.
|
||||||
|
@ -144,8 +145,7 @@ For example, this environment variable sets an array value.
|
||||||
```
|
```
|
||||||
export EMQX_LISTENERS__SSL__L1__AUTHENTICATION__SSL__CIPHERS='["TLS_AES_256_GCM_SHA384"]'
|
export EMQX_LISTENERS__SSL__L1__AUTHENTICATION__SSL__CIPHERS='["TLS_AES_256_GCM_SHA384"]'
|
||||||
```
|
```
|
||||||
|
However, this also means a string value should be quoted if it happens to contain special
|
||||||
However this also means a string value should be quoted if it happens to contain special
|
|
||||||
characters such as `=` and `:`.
|
characters such as `=` and `:`.
|
||||||
|
|
||||||
For example, a string value `"localhost:1883"` would be
|
For example, a string value `"localhost:1883"` would be
|
||||||
|
|
Loading…
Reference in New Issue