You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ In this page, we will look at the config file of trojan. Trojan uses [`JSON`](ht
47
47
-`remote_addr`: server address (hostname)
48
48
-`remote_port`: server port
49
49
-`password`: password used for verification (only the first password in the array will be used)
50
-
-`append_payload`: whether to append the first packet to trojan request. It can reduce length patterns of sessions, but may cause stability issues, in which case set it to `false`. For example, if you are running trojan server and trojan client on the same machine, you should set this option to `false` because there is a race condition at the time the client receives its first packet.
50
+
-`append_payload`: whether to append the first packet to trojan request. It can reduce length patterns of sessions, but may cause stability issues, in which case set it to `false`. For example, if you are running trojan server and trojan client on the same machine, you should set this option to `false`, because there is a race condition at the time the client receives its first packet.
51
51
-`log_level`: how much log to dump. 0: ALL; 1: INFO; 2: WARN; 3: ERROR; 4: FATAL; 5: OFF.
52
52
-`ssl`: `SSL` specific configurations
53
53
-`verify`: whether to verify `SSL` certificate **STRONGLY RECOMMENDED**
0 commit comments