Replies: 2 comments
-
破案了,是cloudflare cdn域名,忘记换成strict mode了…… |
Beta Was this translation helpful? Give feedback.
-
你的配置根本没有使用 UDS 套接字。 |
Beta Was this translation helpful? Give feedback.
-
破案了,是cloudflare cdn域名,忘记换成strict mode了…… |
Beta Was this translation helpful? Give feedback.
-
你的配置根本没有使用 UDS 套接字。 |
Beta Was this translation helpful? Give feedback.
-
caddy部分配置如下
{ "match": [{ "path": ["/vm_ws"], "header": { "Connection": ["*Upgrade*"], "Upgrade": ["websocket"] } }], "handle": [{ "handler": "reverse_proxy", "upstreams": [{ "dial": "unix//dev/shm/vm_ws.sock" }] }] },
xray部分配置如下
{ "listen": "/dev/shm/vm_ws.sock,0666", "port": 0, "protocol": "vmess", "settings": { "clients": [ { "email": "fgybn2mh", "id": "f94fb0a6-9742-4195-b76e-7968774dae75" } ] }, "streamSettings": { "network": "ws", "security": "none", "wsSettings": { "acceptProxyProtocol": false, "headers": {}, "path": "/vm_ws" } }, "tag": "inbound-0", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }
在/dev/shm/下能看到vm_ws.sock了,但是就是不通,没有找到相关的error.log,不知道是否跟权限有关系,caddy是以root运行的
Beta Was this translation helpful? Give feedback.
All reactions