sing-box/docs/configuration/route/geosite.md

41 lines
713 B
Markdown
Raw Normal View History

2023-12-01 05:24:18 +00:00
---
status: deprecated
2023-12-01 05:24:18 +00:00
---
!!! failure "Deprecated in sing-box 1.8.0"
Geosite is deprecated and will be removed in sing-box 1.12.0, check [Migration](/migration/#migrate-geosite-to-rule-sets).
2023-12-01 05:24:18 +00:00
2022-07-08 12:15:45 +00:00
### 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`.
#### download_detour
2022-08-13 03:01:22 +00:00
The tag of the outbound to download the database.
2022-07-08 12:15:45 +00:00
Default outbound will be used if empty.