服务器上是 vmess + ws + tls ,用 caddy 做 https 服务器 clash for windows 连接的时候,是直接连的根域名的,这样就到不了 ws 的分流路径。如果根域名设置了跳转,clash 的 log 里就会返回 303 error ,不设置就 404. iOS 上的小火箭是正常的。 请问这种情况该如何处理呢?
![]() |
1
Googled 178 天前 ![]() 降版本试试,我升级 19.5 就是连不上服务器了,降到 19.4 就行了
|
![]() |
2
canbingzt 178 天前 ![]() proxies:
- name: v2ray server: example.com port: 443 type: vmess uuid: uuid alterId: 0 cipher: auto tls: true skip-cert-verify: true network: ws ws-opts: path: /v2ray headers: Host: example.com udp: true |
![]() |
3
canbingzt 178 天前
排版有问题,看这个,还有就是 alterId 这个字段,我服务器配置的 100 ,但是 cfw 里配置 0 才可以
|
![]() |
5
zanxj 178 天前 ![]() VMESS AEAD 已在 2022 年 1 月 1 日强制启用 请注意更新服务端 移除 alterId 参数
|
7
sxfscool 178 天前 ![]() 用正则替换一下配置文件中的 header 就可以了
ws-path: \/([^,]+), ws-headers: \{Host: ([^}]+)\} ws-opts: {path: /$1, headers: {Host: $2}} |