mirror of
https://github.com/zhaojh329/rttys.git
synced 2026-02-27 09:53:21 +08:00
efb4c8a539
This commit eliminates the native TLS implementation from rttys. Going forward, TLS termination will be handled exclusively by Nginx reverse proxy. Key changes include: 1. Removed all TLS-related configuration options 2. Deleted certificate handling and encryption logic 3. Simplified network stack to plain TCP only 4. Updated documentation to reflect new architecture Rationale: - Delegates TLS to specialized reverse proxy (Nginx) - Improves security through separation of concerns - Reduces attack surface of rttys core service - Enables centralized certificate management - Facilitates future scalability with proxy layer Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
29 lines
766 B
Plaintext
29 lines
766 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
|
|
#dev-auth-url: http://127.0.0.1:8080/rttys-dev-auth
|
|
|
|
# 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: {"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
|