From 4bf78720b7227c9e7c954d12852d838ff900a6e1 Mon Sep 17 00:00:00 2001 From: Ery Lee Date: Sun, 15 Mar 2015 20:19:59 +0800 Subject: [PATCH] access option --- rel/files/app.config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rel/files/app.config b/rel/files/app.config index c60fd33e7..87299b84a 100644 --- a/rel/files/app.config +++ b/rel/files/app.config @@ -60,26 +60,29 @@ {pub_interval, 60} ]}, {bridge, [ - {max_queue_len, 1000}, + {max_queue_len, 1000}, %NO effect now {ping_down_interval, 1} %seconds ]}, {listen, [ {mqtt, 1883, [ {backlog, 512}, + {acceptors, 16}, {max_clients, 1024}, - {acceptors, 16} + {access, [{allow, all}]} ]}, {mqtts, 8883, [ {backlog, 128}, {acceptors, 4}, {max_clients, 1024}, + {access, [{allow, all}]}, %{cacertfile, "etc/ssl/cacert.pem"}, {ssl, [{certfile, "etc/ssl.crt"}, {keyfile, "etc/ssl.key"}]} ]}, {http, 8083, [ {acceptors, 4}, - {max_clients, 512} + {max_clients, 512}, + {access, [{allow, "127.0.0.1"}]} ]} ]} ]}