Add this routing object inside your config:
The Ultimate Xray Setup Sheet: From Zero to Proxy in 10 Minutes Date: April 17, 2026 Category: Networking / DevOps xray setup sheet
On your laptop/phone, the outbound config mirrors the inbound: Add this routing object inside your config: The
Save this page. Bookmark it. The next time you break your Xray config at 2 AM, this setup sheet will bring you back online. Drop your use case (CDN proxying, pure shadowsocks, or Trojan) in the comments below. Drop your use case (CDN proxying, pure shadowsocks,
"log": "loglevel": "warning" , "inbounds": [ "port": 443, "protocol": "vmess", "settings": "clients": [ "id": "YOUR-UUID-HERE", "alterId": 0 ] , "streamSettings": "network": "ws", "security": "tls", "tlsSettings": "certificates": [ "certificateFile": "/path/to/fullchain.pem", "keyFile": "/path/to/privkey.pem" ] , "wsSettings": "path": "/yourpath" ], "outbounds": [ "protocol": "freedom", "tag": "direct" , "protocol": "blackhole", "tag": "block" ]