mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
Add vmess+ws example
This commit is contained in:
parent
2afe662646
commit
764a0d039a
@ -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
32
docs/examples/vmess.md
Normal 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": "/"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user