mirror of
https://github.com/zhaojh329/rttys.git
synced 2026-02-27 09:53:21 +08:00
a0bfc21d11
To solve a major problem: when there are many devices connected, the broker will blocked in processing messages. By the way, I've rewritten and reorganized the entire code architecture, improved performance. Some new features has been added: * support device grouping. * support show device's IP address. Change-Id: I250e18091be7fd42028c82767b6edef50b3f6d8f Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
28 lines
734 B
Plaintext
28 lines
734 B
Plaintext
#addr-dev: :5912
|
|
#addr-user: :5913
|
|
|
|
# Automatically select an available port in default
|
|
#addr-http-proxy:
|
|
|
|
#http-proxy-redir-url:
|
|
|
|
# Used for set cookie
|
|
#http-proxy-redir-domain:
|
|
|
|
#token: a1d4cdb1a3cd6a0e94aa3599afcddcf5
|
|
|
|
# This url will be called when the device is connected if this url is configured
|
|
# The request method is POST
|
|
# The parameters are in JSON format: {"group": "group ID","id": "device ID", "token": "device TOKEN"}
|
|
# Return HTTP 200 to indicate that the device is allowed to connect.
|
|
#dev-hook-url: http://127.0.0.1:8080/rttys-dev-hook
|
|
|
|
# Local access does not require authentication
|
|
#local-auth: false
|
|
|
|
# Web Management password
|
|
#password: rttys
|
|
|
|
# Allow all origins for cross-domain request
|
|
#allow-origins: false
|