access option

This commit is contained in:
Ery Lee 2015-03-15 20:19:59 +08:00
parent b43f78eadd
commit 4bf78720b7
1 changed files with 6 additions and 3 deletions

View File

@ -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"}]}
]}
]}
]}