mirror of
https://github.com/zhaojh329/rttys.git
synced 2026-02-27 09:53:21 +08:00
a272ad4e80
Used for set cookie via nginx proxy. Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
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:
|
|
|
|
#ssl-cacert: /etc/rttys/rttys.ca
|
|
#ssl-cert: /etc/rttys/rttys.crt
|
|
#ssl-key: /etc/rttys/rttys.key
|
|
|
|
#if you want to use separate SSL config for webui, set this to True.otherwise, it will use the same SSL config for device and webui
|
|
#separate-ssl-config: True
|
|
#webui-ssl-cert: /etc/rttys/webui-rttys.crt
|
|
#webui-ssl-key: /etc/rttys/webui-rttys.key
|
|
|
|
#token: a1d4cdb1a3cd6a0e94aa3599afcddcf5
|
|
#dev-auth-url: http://127.0.0.1:8080/rttys-dev-auth
|
|
|
|
# No login required to connect device.
|
|
# Values can be device IDs separated by spaces,
|
|
# or a "*" indicates that all devices do not require login
|
|
# http://localhost:5913/connect/rtty1
|
|
#white-list: "*"
|
|
#white-list: rtty1 rtty2
|
|
|
|
# database source
|
|
db: sqlite://rttys.db
|
|
#db: mysql://rttys:rttys@tcp(localhost)/rttys
|
|
|
|
#disable new user sign up
|
|
#disable-sign-up: True
|
|
|
|
# Local access does not require authentication
|
|
#local-auth: false
|