|
|
@@ -85,6 +85,13 @@
|
|
|
{datatype, string}
|
|
|
]}.
|
|
|
|
|
|
+%% @doc The erlang distributed protocol
|
|
|
+{mapping, "cluster.proto_dist", "ekka.proto_dist", [
|
|
|
+ {default, "inet_tcp"},
|
|
|
+ {datatype, {enum, [inet_tcp, inet6_tcp, inet_tls]}},
|
|
|
+ hidden
|
|
|
+]}.
|
|
|
+
|
|
|
{mapping, "cluster.dns.app", "ekka.cluster_discovery", [
|
|
|
{datatype, string}
|
|
|
]}.
|
|
|
@@ -198,12 +205,7 @@ end}.
|
|
|
{default, "emqx@127.0.0.1"}
|
|
|
]}.
|
|
|
|
|
|
-%% @doc The erlang distributed protocol
|
|
|
-{mapping, "node.proto_dist", "ekka.proto_dist", [
|
|
|
- %{default, "inet_tcp"},
|
|
|
- {datatype, {enum, [inet_tcp, inet6_tcp, inet_tls]}},
|
|
|
- hidden
|
|
|
-]}.
|
|
|
+
|
|
|
|
|
|
%% @doc Specify SSL Options in the file if using SSL for erlang distribution
|
|
|
{mapping, "node.ssl_dist_optfile", "vm_args.-ssl_dist_optfile", [
|