v2ray-step-by-step icon indicating copy to clipboard operation
v2ray-step-by-step copied to clipboard

Update wss_and_web.md

Open cnszlijz opened this issue 1 year ago • 2 comments

更改了proxy_pass一行,因为原来的proxy_pass http://127.0.0.1:10000 会导致v2ray收到路径“/”而不是路径“/ray”,进而返回404,从而使nginx返回nginx的404页面

cnszlijz avatar Aug 04 '24 14:08 cnszlijz

另外,新版nginx和v2ray表明/ray和/ray/都可以识别了

cnszlijz avatar Aug 04 '24 14:08 cnszlijz

配置的意思是访问 mydomain.me/ray 会被 nginx 转发给 127.0.0.1:10000,而 10000 上运行的是 v2ray。我猜测你的服务器端配置写错了。客户端需要 /ray 作为 path,服务端不需要。

DolorHunter avatar Oct 01 '24 04:10 DolorHunter