Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emc2314 committed Feb 19, 2020
1 parent e2b2e38 commit 3a44812
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ This project is a fork of v2ray, with tls module replaced by [utls](https://gith

# Usage

Note: ONLY use on client side.
Note: Use ONLY on client.

Replace wv2ray.exe in your V2rayN (or any other GUI client) folder.
Replace ```wv2ray.exe``` in your V2rayN (or any other GUI client) folder.

For those who use websocket+tls together with an http2 capable server (e.g. cloudflare cdn/caddy/nginx with http2), append "/h2" to your websocket path for client side configuration. For example, if your websocket path is ```/ray```, replace it with ```/ray/h2```. **No need to change your server configuration.**

# Details

For tls in v2ray and ws+tls, [Chrome 72 ClientHello](https://tlsfingerprint.io/id/bbf04e5f1881f506) is used.

However, this fingerprint has http/2 as well as http/1.1 in ALPN. If the server supports http/2, then they will negotiate the protocol as http/2, which has not been supoorted by the go websocket yet.
However, this fingerprint has http/2 as well as http/1.1 in ALPN. If the server supports http/2, they will negotiate the protocol as http/2, which has not been supoorted by the go websocket yet.

So, if you add "/h2" to your path, v2ray will notice (and remove the trailing "/h2") and use [another popular fingerprint](https://tlsfingerprint.io/id/58b1a38e124153a0) which has no http/2 in ALPN extention.
So, if you append "/h2" to your path, v2ray will notice (and remove the trailing "/h2") and use [another popular fingerprint](https://tlsfingerprint.io/id/58b1a38e124153a0) which has no http/2 in ALPN extention.

# License

Expand Down

0 comments on commit 3a44812

Please sign in to comment.