chore: update example config.yml

This commit is contained in:
cubemaze 2023-08-07 12:36:58 +08:00
parent 85609b41de
commit 78beaeb03f

View File

@ -38,6 +38,19 @@ Nodes:
Path: # HTTP PATH, Empty for any
Dest: 80 # Required, Destination of fallback, check https://xtls.github.io/config/features/fallback.html for details.
ProxyProtocolVer: 0 # Send PROXY protocol version, 0 for disable
SingOptions:
EnableTFO: true
SniffEnabled: true
SniffOverrideDestination: true
EnableProxyProtocol: false
FallBackConfigs:
FallBack:
Server: 127.0.0.1
ServerPort: 8080
FallBackForALPN:
http/1.1:
Server: 127.0.0.1
ServerPort: 8081
HyOptions:
Resolver: "udp://1.1.1.1:53" # DNS resolver address
ResolvePreference: 64 # DNS IPv4/IPv6 preference. Available options: "64" (IPv6 first, fallback to IPv4), "46" (IPv4 first, fallback to IPv6), "6" (IPv6 only), "4" (IPv4 only)