老卫同学
发布于 2024-07-10 / 50 阅读
0
0

x-ui接口参数

total计算byte,33GB要✖️1024✖️1024✖️1024

新增的参数

up: 0
down: 0
total: 35433480192
remark: 
enable: true
expiryTime: 0
listen: 
port: 53722
protocol: vmess
settings: {
  "clients": [
    {
      "id": "2b10c94c-a067-476c-8323-5085c4733d02",
      "email": "k4pak1yz",
      "limitIp": 0,
      "totalGB": 0,
      "expiryTime": 0,
      "enable": true,
      "tgId": "",
      "subId": "qsoirqipshic5eq6",
      "reset": 0
    }
  ]
}
streamSettings: {
  "network": "tcp",
  "security": "tls",
  "externalProxy": [],
  "tlsSettings": {
    "serverName": "ladder.xuyu.app",
    "minVersion": "1.2",
    "maxVersion": "1.3",
    "cipherSuites": "",
    "rejectUnknownSni": false,
    "disableSystemRoot": false,
    "enableSessionResumption": false,
    "certificates": [
      {
        "certificateFile": "/www/sites/pan.xuyu.app/ssl/fullchain.pem",
        "keyFile": "/www/sites/pan.xuyu.app/ssl/privkey.pem",
        "ocspStapling": 3600,
        "oneTimeLoading": false,
        "usage": "encipherment"
      }
    ],
    "alpn": [
      "h2",
      "http/1.1"
    ],
    "settings": {
      "allowInsecure": false,
      "fingerprint": ""
    }
  },
  "tcpSettings": {
    "acceptProxyProtocol": false,
    "header": {
      "type": "none"
    }
  }
}
sniffing: {
  "enabled": true,
  "destOverride": [
    "http",
    "tls",
    "quic",
    "fakedns"
  ],
  "metadataOnly": false,
  "routeOnly": false
}

修改的参数如下

up: 0
down: 0
total: 35433480192
remark: 111
enable: true
expiryTime: 0
listen: 
port: 53722
protocol: vmess
settings: {
  "clients": [
    {
      "id": "2b10c94c-a067-476c-8323-5085c4733d02",
      "email": "k4pak1yz",
      "limitIp": 0,
      "totalGB": 0,
      "expiryTime": 0,
      "enable": true,
      "tgId": "",
      "subId": "qsoirqipshic5eq6",
      "reset": 0
    }
  ]
}
streamSettings: {
  "network": "tcp",
  "security": "tls",
  "externalProxy": [],
  "tlsSettings": {
    "serverName": "ladder.xuyu.app",
    "minVersion": "1.2",
    "maxVersion": "1.3",
    "cipherSuites": "",
    "rejectUnknownSni": false,
    "disableSystemRoot": false,
    "enableSessionResumption": false,
    "certificates": [
      {
        "certificateFile": "/www/sites/pan.xuyu.app/ssl/fullchain.pem",
        "keyFile": "/www/sites/pan.xuyu.app/ssl/privkey.pem",
        "ocspStapling": 3600,
        "oneTimeLoading": false,
        "usage": "encipherment"
      }
    ],
    "alpn": [
      "h2",
      "http/1.1"
    ],
    "settings": {
      "allowInsecure": false,
      "fingerprint": ""
    }
  },
  "tcpSettings": {
    "acceptProxyProtocol": false,
    "header": {
      "type": "none"
    }
  }
}
sniffing: {
  "enabled": true,
  "destOverride": [
    "http",
    "tls",
    "quic",
    "fakedns"
  ],
  "metadataOnly": false,
  "routeOnly": false
}


评论