geoip variables evaluation vs map

Maxim Dounin mdounin at mdounin.ru
Sat May 6 01:34:10 UTC 2017


Hello!

On Fri, May 05, 2017 at 08:27:34AM -0400, beatnut wrote:

> Hello!
> When using variables via map directive they are evaluated when they are
> used. 
> My question is if variables from geoip module like $geoip_country_code are
> evaluated only when they are used, like map or every time?

Only when they are used.

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx mailing list