diff --git a/rel/files/emqttd.config b/rel/files/emqttd.config index eabd4e119..eed3c5ce8 100644 --- a/rel/files/emqttd.config +++ b/rel/files/emqttd.config @@ -196,6 +196,23 @@ %{buffer, 4096}, ]} ]}, + %% WebSocket over HTTPS Listener + %% {https, 8083, [ + %% %% Size of acceptor pool + %% {acceptors, 4}, + %% %% Maximum number of concurrent clients + %% {max_clients, 512}, + %% %% Socket Access Control + %% {access, [{allow, all}]}, + %% %% SSL certificate and key files + %% {ssl, [{certfile, "etc/ssl/ssl.crt"}, + %% {keyfile, "etc/ssl/ssl.key"}]}, + %% %% Socket Options + %% {sockopts, [ + %% %{buffer, 4096}, + %% {backlog, 1024} + %% ]} + %%]}, %% HTTP and WebSocket Listener {http, 8083, [ %% Size of acceptor pool