mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-23 00:51:29 +00:00
35 lines
511 B
Markdown
35 lines
511 B
Markdown
|
# geoip
|
||
|
|
||
|
### Structure
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"route": {
|
||
|
"geoip": {
|
||
|
"path": "",
|
||
|
"download_url": "",
|
||
|
"download_detour": ""
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### Fields
|
||
|
|
||
|
#### path
|
||
|
|
||
|
The path to the sing-geoip database.
|
||
|
|
||
|
`geoip.db` will be used if empty.
|
||
|
|
||
|
#### download_url
|
||
|
|
||
|
The download URL of the sing-geoip database.
|
||
|
|
||
|
Default is `https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db`.
|
||
|
|
||
|
#### download_detour
|
||
|
|
||
|
The ag of the outbound to download the database.
|
||
|
|
||
|
Default outbound will be used if empty.
|