Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Caddy V2 Websocket Configuration #218

Open
wants to merge 1 commit into
base: transifex
Choose a base branch
from
Open

Fix Caddy V2 Websocket Configuration #218

wants to merge 1 commit into from

Conversation

elvisw
Copy link

@elvisw elvisw commented Dec 23, 2020

Caddy v2配置中的 path /ray 这一行会导致其无法按预期工作。caddy社区的讨论也说明了这个问题:
https://caddy.community/t/caddy-v2-how-to-proxy-websoket-v2ray-websocket-tls/7040/12

Caddy v2配置中的 `path /ray` 这一行会导致其无法按预期工作。caddy社区的讨论也说明了这个问题:
https://caddy.community/t/caddy-v2-how-to-proxy-websoket-v2ray-websocket-tls/7040/12
@kslr
Copy link

kslr commented Dec 23, 2020

但是在其他配置中路径指定为,这是否测试可行?

@elvisw
Copy link
Author

elvisw commented Dec 23, 2020

但是在其他配置中路径指定为,这是否测试可行?

其他配置中路径指定 是指?

@kslr
Copy link

kslr commented Dec 23, 2020

但是在其他配置中路径指定为,这是否测试可行?

其他配置中路径指定 是指?

比如在接下来的 core 中使用了路径 ray

@elvisw
Copy link
Author

elvisw commented Dec 23, 2020

但是在其他配置中路径指定为,这是否测试可行?

其他配置中路径指定 是指?

比如在接下来的 core 中使用了路径 ray

这个不影响,v2ray core中的streamSettings -> wsSettings -> "path": "/ray" 设置依旧有效

我目前就是这么设置的

@kslr kslr requested a review from nicholascw December 23, 2020 06:22
@cnszlijz
Copy link

cnszlijz commented Aug 4, 2024

我今天在nginx中也发现了类似的现象,path /ray会导致传给v2ray的路径中被吃掉一个/ray

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.

3 participants