mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-17 22:39:46 +00:00
### New features - New face + dark mode - [Change font to vazirmatn](057f3190de) - [use customized andtv](f956009fd2) - [popConfirm for del and reset client](66c98e8392) - [Separate page for xray config](9e1cd6315f) - Separate face for mobile view - [Show online users](bf892e9965) [#559](https://github.com/alireza0/x-ui/issues/559) - [Auto renew](96408967ae) ### Bug fixes - [[tgbot] Retry loop on start](211c05ec29) - [fix docker-compose version](1dcec91ce4) - [fix redirect after restart](81d25a032c)
65 lines
1.1 KiB
JSON
65 lines
1.1 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"api": {
|
|
"tag": "api",
|
|
"services": ["HandlerService", "LoggerService", "StatsService"]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "api",
|
|
"listen": "127.0.0.1",
|
|
"port": 62789,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
},
|
|
{
|
|
"tag": "blocked",
|
|
"protocol": "blackhole",
|
|
"settings": {}
|
|
}
|
|
],
|
|
"policy": {
|
|
"levels": {
|
|
"0": {
|
|
"statsUserDownlink": true,
|
|
"statsUserUplink": true
|
|
}
|
|
},
|
|
"system": {
|
|
"statsInboundDownlink": true,
|
|
"statsInboundUplink": true
|
|
}
|
|
},
|
|
"routing": {
|
|
"domainStrategy": "AsIs",
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"inboundTag": ["api"],
|
|
"outboundTag": "api"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "blocked",
|
|
"ip": ["geoip:private"]
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "blocked",
|
|
"protocol": ["bittorrent"]
|
|
}
|
|
]
|
|
},
|
|
"stats": {}
|
|
}
|