diff --git a/README.md b/README.md index da9bab5..cc5c77c 100644 --- a/README.md +++ b/README.md @@ -48,12 +48,18 @@ admin_user = admin ;the password of manage ui,optional admin_pwd = admin -; frp server's dashboard config info, it's required and should be the same as frp server -; otherwise, this plugin cannot get server info +; enable tls +tls_mode = false +; tls_cert_file = cert.crt +; tls_key_file = cert.key + +; frp dashboard info dashboard_addr = 127.0.0.1 dashboard_port = 7500 dashboard_user = admin dashboard_pwd = admin +; if your frps dashboard enable tls, change this to true +dashboard_tls = false [users] ;user user1 with meta_token 123 diff --git a/README_zh.md b/README_zh.md index 6004e5c..63a8ac5 100644 --- a/README_zh.md +++ b/README_zh.md @@ -49,11 +49,18 @@ admin_user = admin ;插件管理页面密码,与账号一起进行鉴权,可选 admin_pwd = admin +; frps 面板页面是否启用https访问,如果为true,则只能通过https访问 +tls_mode = false +; tls_cert_file = cert.crt +; tls_key_file = cert.key + ; frp服务器的看板页面信息,必须配置,且与frp服务器一致,否则无法获取服务器信息 dashboard_addr = 127.0.0.1 dashboard_port = 7500 dashboard_user = admin dashboard_pwd = admin +; 如果frps的dashboard启用了tls,则把这个选项置为true,否则无法获取服务器信息 +dashboard_tls = false [users] ;user1的meta_token为123