{
  "log": {
    "level": "warn",
    "output": "sing-box.log"
  },
  "dns": {
    "servers": [
      {
        "tag": "google",
        "type": "tcp",
        "server": "8.8.8.8"
      },
      {
        "tag": "local",
        "type": "local"
      }
    ],
    "final": "google"
  },
  "inbounds": [
    {
      "type": "vless",
      "tag": "vless-httpupgrade",
      "listen": "::",
      "listen_port": 8443,
      "users": [
        {
          "uuid": "e3a4da25-9edc-499b-af93-88da87d845a1",
          "flow": ""
        }
      ],
      "tls": {
        "enabled": true,
        "server_name": "45.39.230.169.nip.io",
        "certificate_path": "/etc/letsencrypt/live/45.39.230.169.nip.io/fullchain.pem",
        "key_path": "/etc/letsencrypt/live/45.39.230.169.nip.io/privkey.pem"
      },
      "transport": {
        "type": "httpupgrade",
        "path": "/hu",
        "headers": {}
      }
    },
    {
      "type": "vless",
      "tag": "vless-ws",
      "listen": "::",
      "listen_port": 9443,
      "users": [
        {
          "uuid": "e3a4da25-9edc-499b-af93-88da87d845a1",
          "flow": ""
        }
      ],
      "tls": {
        "enabled": true,
        "server_name": "45.39.230.169.nip.io",
        "certificate_path": "/etc/letsencrypt/live/45.39.230.169.nip.io/fullchain.pem",
        "key_path": "/etc/letsencrypt/live/45.39.230.169.nip.io/privkey.pem"
      },
      "transport": {
        "type": "ws",
        "path": "/ws",
        "headers": {}
      }
    },
    {
      "type": "tuic",
      "tag": "tuic-in",
      "listen": "::",
      "listen_port": 8444,
      "users": [
        {
          "uuid": "874db765-5689-49cd-a584-ff5f01c4ad07",
          "password": "fsVMh9_ftAffrCVNKGu9Ig"
        }
      ],
      "tls": {
        "enabled": true,
        "server_name": "45.39.230.169.nip.io",
        "certificate_path": "/etc/letsencrypt/live/45.39.230.169.nip.io/fullchain.pem",
        "key_path": "/etc/letsencrypt/live/45.39.230.169.nip.io/privkey.pem",
        "alpn": [
          "h3"
        ]
      },
      "congestion_control": "bbr"
    },
    {
      "type": "hysteria2",
      "tag": "hysteria2-in",
      "listen": "::",
      "listen_port": 8445,
      "users": [
        {
          "password": "w-jaX7xhkb4k7QpACgJmcg"
        }
      ],
      "tls": {
        "enabled": true,
        "server_name": "45.39.230.169.nip.io",
        "certificate_path": "/etc/letsencrypt/live/45.39.230.169.nip.io/fullchain.pem",
        "key_path": "/etc/letsencrypt/live/45.39.230.169.nip.io/privkey.pem"
      }
    }
  ],
  "outbounds": [
    {
      "type": "direct",
      "tag": "direct"
    },
    {
      "type": "block",
      "tag": "block"
    }
  ],
  "route": {
    "rules": [
      {
        "action": "sniff"
      },
      {
        "protocol": "dns",
        "action": "hijack-dns"
      }
    ],
    "final": "direct",
    "auto_detect_interface": true,
    "default_domain_resolver": {
      "server": "google",
      "client_subnet": "0.0.0.0/0"
    }
  },
  "experimental": {
    "clash_api": {
      "external_controller": "127.0.0.1:9090",
      "external_ui": "",
      "secret": "",
      "default_mode": "rule"
    }
  }
}