1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| { "type": "vmess", "tag": "vpf8h4nj-in", "listen": "::", "listen_port": 443, "sniff": true, "sniff_override_destination": true, "transport": { "type": "ws", "path": "/example", "max_early_data": 2048, "early_data_header_name": "Sec-WebSocket-Protocol" }, "users": [ { "uuid": "df5f4b75-6js7-4e55-b20f-8233se7c38d", "alterId": 0 } ],
#vmess+ws则下方tls内容省略 "tls": { "enabled": true, "server_name": "example.com", #此处填签名证书域名 "certificate_path": "/root/ssl/cert.crt", "key_path": "/root/ssl/private.key" } }
|