# Nginx GeoIP\_City not working

**URL:** <https://www.ruby-forum.com/t/nginx-geoip-city-not-working/191165>\
**Category:** NGINX\
**Created:** [July 6, 2010, 8:35pm UTC](https://www.ruby-forum.com/t/nginx-geoip-city-not-working/191165 "2010-07-06T20:35:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kokomos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/bc79bd/32.png) [@kokomos](https://www.ruby-forum.com/u/kokomos)\
**Post date:** [July 6, 2010, 8:35pm UTC](https://www.ruby-forum.com/t/nginx-geoip-city-not-working/191165/1 "2010-07-06T20:35:46Z")

</div>

Here is what I set for fastcgi\_param

fastcgi\_param GEOIP\_COUNTRY\_NAME $geoip\_city\_country\_name;  
fastcgi\_param GEOIP\_COUNTRY\_CODE $geoip\_city\_country\_code3;  
fastcgi\_param GEOIP\_REGION $geoip\_region;  
fastcgi\_param GEOIP\_CITY $geoip\_city;

It was working few days ago but then GEOIP\_REGION and GEOIP\_CITY stopped  
working but GEOIP\_COUNTRY\_NAME and GEOIP\_COUNTRY\_CODE are working fine.  
Can anyone help?

Posted at Nginx Forum:

> **[Nginx GeoIP\_City not working](https://forum.nginx.org/read.php?2,106009,106009#msg-106009)**
>
> Here is what I set for fastcgi\_param fastcgi\_param GEOIP\_COUNTRY\_NAME $geoip\_city\_country\_name; fastcgi\_param GEOIP\_COUNTRY\_CODE $geoip\_city\_country\_code3; fastcgi\_param GEOIP\_REGION $geoip\_region; fastcgi\_param GEOIP\_CITY $geoip\_ci
