Переглянути джерело

Update frpc_full.ini (#2023)

Added authenticate_heartbeats and authenticate_new_work_conns
Chirag Sukhala 4 роки тому
батько
коміт
3c2e2bcea5
1 змінених файлів з 8 додано та 1 видалено
  1. 8 1
      conf/frpc_full.ini

+ 8 - 1
conf/frpc_full.ini

@@ -22,7 +22,14 @@ log_max_days = 3
 # disable log colors when log_file is console, default is false
 # disable log colors when log_file is console, default is false
 disable_log_color = false
 disable_log_color = false
 
 
-# for authentication
+# for authentication, should be same as your frps.ini
+# AuthenticateHeartBeats specifies whether to include authentication token in heartbeats sent to frps. By default, this value is false.
+authenticate_heartbeats = false
+
+# AuthenticateNewWorkConns specifies whether to include authentication token in new work connections sent to frps. By default, this value is false.
+authenticate_new_work_conns = false
+
+# auth token
 token = 12345678
 token = 12345678
 
 
 # set admin address for control frpc's action by http api such as reload
 # set admin address for control frpc's action by http api such as reload