doc: add local_port for tcpmux example (#2695)

This commit is contained in:
fatedier 2021-12-08 18:41:21 +08:00 committed by GitHub
parent 05b1ace21f
commit bbc8b438d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -985,11 +985,13 @@ server_port = 7000
type = tcpmux type = tcpmux
multiplexer = httpconnect multiplexer = httpconnect
custom_domains = test1 custom_domains = test1
local_port = 80
[proxy2] [proxy2]
type = tcpmux type = tcpmux
multiplexer = httpconnect multiplexer = httpconnect
custom_domains = test2 custom_domains = test2
local_port = 8080
``` ```
In the above configuration - frps can be contacted on port 1337 with a HTTP CONNECT header such as: In the above configuration - frps can be contacted on port 1337 with a HTTP CONNECT header such as: