Selaa lähdekoodia

doc: add local_port for tcpmux example (#2695)

fatedier 3 vuotta sitten
vanhempi
commit
bbc8b438d5
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -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: