mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 13:44:14 +08:00
37 lines
766 B
Markdown
37 lines
766 B
Markdown
# geosite
|
|
|
|
### Structure
|
|
|
|
```json
|
|
{
|
|
"route": {
|
|
"geosite": {
|
|
"path": "",
|
|
"download_url": "",
|
|
"download_detour": ""
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
### Fields
|
|
|
|
#### path
|
|
|
|
The path to the sing-geosite database.
|
|
|
|
`geosite.db` will be used if empty.
|
|
|
|
#### download_url
|
|
|
|
The download URL of the sing-geoip database.
|
|
|
|
Default is `https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db`.
|
|
|
|
To get more customized routing options, `https://github.com/Johnshall/sing-geosite/releases/latest/download/geosite.db` is a good replacement which is based on [Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat).
|
|
|
|
#### download_detour
|
|
|
|
The tag of the outbound to download the database.
|
|
|
|
Default outbound will be used if empty. |