but cat not get the value,'geoip_city_country_name' (a nil value)
1)ngx_http_geoip_module has loaded
2) geo date files has get
but the log error,such as:
At 2017-12-23 01:14:29, "Igor Clark" <igor...@gmail.com> wrote:
As long as ngx_http_geoip_module is loaded into OpenResty, you can
refer directly to it as ngx.var.geoip_city_country_name -
see https://github.com/openresty/lua-nginx-module/#ngxvarvariable
:-)
On 22/12/2017 14:16, xlingit wrote:
How
do I get the value of $ geoip_city_country_name / $ geoip_city
of http_geoip_module in lua file?
.