9bb6ed5d5c39df809ef43c8258b88c3c508d15bc
- clash.yaml template: proxy-provider URL uses ${SUB_ID} placeholder
- install_clash_sub() saves to clash.yaml.tpl (DOMAIN/SUB_PATH substituted, SUB_ID left)
- mtr-backend GET /api/clash?sub_id=xxx reads .tpl, fills in subscription ID, returns YAML
- nginx regex ^/sub_path/(?<clash_sub_id>[^/]*)$ proxies Clash UA to
mtr-backend /api/clash?sub_id=$clash_sub_id; regular clients pass through to x-ui
- Removed static /__clash_sub internal location
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
x-ui-pro (x-ui + nginx) modification of https://github.com/GFW4Fun/x-ui-pro for REALITY
- Auto Installation (lightweight)
- Auto SSL renewal / Daily reload Nginx X-ui
- Handle REALITY and WebSocket via nginx.
- Multi-user and config via port 443
- Auto enabled subscriptions via port 443
- Auto configured VLESS+Reality and VLESSoverWebSocket
- Custom Web Sub Page
- Feature that allows the use of custom client configurations for SING-BOX & CLASH META
- Local instance sub2sing-box
- Auto configured Firewall
- More security and low detection with nginx
- Compatible with Cloudflare (only for WebSocket/GRPC)
- Random 150+ fake template!
- Linux Debian12/Ubuntu24!
You need TWO domains or subdomains- For panel and WebSocket/GRPC/HttpUgrade/SplitHttp
- For REALITY destination
Get Free subdomains - https://scarce-hole-1e2.notion.site/14d1666462e48069818cf42553bfae1f?pvs=74
RU instruction - https://scarce-hole-1e2.notion.site/3X-UI-pro-with-REALITY-panel-and-inbaunds-on-port-443-10d1666462e48085be0fee4c136ce417
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Install X-UI-PRO
bash <(wget -qO- https://github.com/mozaroc/x-ui-pro/raw/master/x-ui-pro.sh) -install yes -panel 1 -ONLY_CF_IP_ALLOW no
Do not change SubDomain for renew SSL❗
Uninstall X-UI-PRO❌
sudo su -c "bash <(wget -qO- https://raw.githubusercontent.com/mozaroc/x-ui-pro/master/x-ui-pro.sh) -Uninstall yes"
backup panel and nginx configs❌
sudo su -c "bash <(wget -qO- https://raw.githubusercontent.com/mozaroc/x-ui-pro/master/backup.sh)"
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Screenshots 🔧🐧⚙️
How to open custom web sub page?
Main Page custom web sub
sub2sing-box section on custom web sub page
local instance sub2sing-box fork by legiz
Languages
HTML
54%
Shell
30.9%
JavaScript
11.5%
Python
3.6%



