Skip to content

Instantly share code, notes, and snippets.

@airled
Created November 11, 2025 04:37
Show Gist options
  • Select an option

  • Save airled/f0a53744d0b80a5c77b7565eb3098caa to your computer and use it in GitHub Desktop.

Select an option

Save airled/f0a53744d0b80a5c77b7565eb3098caa to your computer and use it in GitHub Desktop.
Minimal xray server config
{
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "{xray uuid}",
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "www.cloudflare.com:443",
"xver": 0,
"serverNames": ["www.cloudflare.com"],
"privateKey": "{xray x25519}",
"shortIds": ["abcdef"]
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
],
"log": {
"loglevel": "warning"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment