mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-09 18:43:13 +00:00
e374ba0925
* Added H2 for all protocols, SS-WS and SS-TCP * added more comments to fallbacks * update README.md * added client link examples * update README.md * update README.md * update README * update README * typo in domain name * Switched to latest VISION flow - block private address access by default * clean up nginx.conf * added client configurations * fixed typo in README.md * client/server UUID mismatch
49 lines
963 B
JSON
49 lines
963 B
JSON
{
|
|
"log": {
|
|
"loglevel": "debug"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": "1080",
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "example.com",
|
|
"port": 443,
|
|
"users": [
|
|
{
|
|
"id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797",
|
|
"alterId": 0,
|
|
"security": "none"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "http",
|
|
"httpSettings": {
|
|
"path": "/vmh2"
|
|
},
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"allowInsecure": false,
|
|
"fingerprint": "chrome",
|
|
"alpn": ["h2"],
|
|
"serverName": "vmh2o.example.com" // Change to ssh2o.yourdomain.tld
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|