{
  // Run a trojan server on port 6000 with password 'abcd1234'.
  "url": "trojan://abcd1234@0.0.0.0:6000",
  "proxies": [
    {
      // Connect using a websocket server that provides vmess support, which can be
      // accessed using path '/ws', with host header 'example.com'
      //
      // in other words: 'vmess server with websocket obfs, obfs path /ws and obfs host example.com'
      "url": "wss://2.3.4.5:443",
      "target": {
        "matching_headers": {
          "host": "example.com"
        },
        "matching_path": "/ws",
        "scheme": "vmess",
        "user_id": "e05b95db-a229-4f64-b2b3-b6073b4eb6c4",
        "cipher": "chacha20-poly1305"
      }
    }
  ]
}
