mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 07:10:51 +00:00
g3proxy: support load of geoip_db
This commit is contained in:
parent
c9204ee844
commit
d3d466bf8b
7 changed files with 80 additions and 3 deletions
|
|
@ -20,7 +20,10 @@ geo_rules
|
|||
|
||||
**optional**, **type**: seq
|
||||
|
||||
If the resolved upstream ip address lpm match the network in the rules, that escaper will be selected.
|
||||
Set the GeoIP rules to select next escaper.
|
||||
|
||||
Remember to set :ref:`geoip_db <configuration_geoip_db>` in main conf to enable GeoIP lookup.
|
||||
If not set, this escaper will just behave like :ref:`route_resolved <configuration_escaper_route_resolved>` escaper.
|
||||
|
||||
Each rule is in *map* format, with two keys:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue