Add vmess+ws example

This commit is contained in:
Misaka-blog 2023-04-09 15:14:59 +08:00
parent 2afe662646
commit 764a0d039a
2 changed files with 34 additions and 1 deletions

View File

@ -4,8 +4,9 @@ Configuration examples for sing-box.
* [Linux Server Installation](./linux-server-installation)
* [Tun](./tun)
* [DNS Hijack](./dns-hijack.md)
* [DNS Hijack](./dns-hijack)
* [Shadowsocks](./shadowsocks)
* [ShadowTLS](./shadowtls)
* [VMess](./vmess)
* [Clash API](./clash-api)
* [WireGuard Direct](./wireguard-direct)

32
docs/examples/vmess.md Normal file
View File

@ -0,0 +1,32 @@
# VMess
## Websocket
```json
{
"inbounds": [
{
"type": "vmess",
"tag": "vmess-in",
"listen": "::",
"listen_port": 8080,
"tcp_fast_open": false,
"sniff": false,
"sniff_override_destination": false,
"domain_strategy": "prefer_ipv4",
"proxy_protocol": false,
"users": [
{
"name": "sekai",
"uuid": "e70945d9-47f5-4ebf-9c48-d96ca91cfe3e",
"alterId": 0
}
],
"transport": {
"type": "ws",
"path": "/"
}
}
]
}
```