Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpwnnex <pwnnex@proton.me>2026-04-28 18:49:39 +0300
committerGitHub <noreply@github.com>2026-04-28 18:49:39 +0300
commit22de983752fb4cc10bd16b756c4ccaab239e2e3b (patch)
treec527ca1ef767587b7fff1cfcb07293b7fc6fcd2e /web/html/settings/xray/dns.html
parent0b5c239f98fd112df10ed4846377563a391ebf60 (diff)
xray-setting: pin api routing rule to index 0 on save (#4124)
when the admin adds a custom outbound (eg vless cascade to a second server) and a routing rule sending all inbound traffic to it, that catch-all gets evaluated before the existing api->api rule, so the panel's internal stats inbound's traffic ends up on the cascade outbound. the grpc stats query then can't see anything, GetTraffic returns no inbound/user counters, and every client appears offline with zero traffic even though the actual proxy path works fine. before save, find the api rule and move it to the front of routing.rules. if it's missing entirely, insert a default. other rules keep their relative order. closes #4113. probably also fixes the long-standing #2818 where the documented workaround was "manually move the api rule to the top".
Diffstat (limited to 'web/html/settings/xray/dns.html')
0 files changed, 0 insertions, 0 deletions