Skip to content

Conversation

@cnszlijz
Copy link

@cnszlijz cnszlijz commented Aug 4, 2024

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

@cnszlijz
Copy link
Author

cnszlijz commented Aug 4, 2024

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

@DolorHunter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants