求助: nginx前置+vless+ws,因重定向问题无法正常使用 #231
-
预期以nginx作为前置服务,反代vs,通过websocket路径分流 配置nginx/conf.d/网站.conf
nginx 主文件配置
server.toml[app]
loglevel = 1
[[listen]]
tag = "vs_vles"
protocol = "vless"
uuid = "uuid"
ip = "127.0.0.1"
port = 39991
insecure = false
adv = "ws"
path = "/ctmd5"
[[fallback]]
dest = 80
[[dial]]
protocol = "direct"
fullcone = false
客户端配置(使用v2rayN)问题按如上配置后,无法使用,v2rayN一直输出如下信息 [Warning] [3537724683] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (wss://(域名)/ctmd5/): 301 Moved Permanently > websocket: bad handshake transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (wss://(域名)/ctmd5/): > dial tcp: lookup (域名): operation was canceled] > common/retry: all retry attempts failed vs服务端日志如下(都是类似的信息,只截取部分) 2023-01-13 21:16:27.095 INFO Starting... 补充
我的配置存在什么问题? 求解答👀 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
从日志上看是流量进入VS,但是回落了,说明没匹配上,客户端勾上alpn1.1试试呢? |
Beta Was this translation helpful? Give feedback.
从日志上看是流量进入VS,但是回落了,说明没匹配上,客户端勾上alpn1.1试试呢?