This tutorial explains how to install the GeoIP module for Nginx:
http://piwik.org/faq/how-to/faq_166/
I am on a shared host. I do have shell access but my access is limited to certain areas.
I have checked the system with nginx -V
. The output does contain --with-http_geoip_module
.
According to the tutorial these two lines must be added to the server configuration file:
geoip_country /path/to/CountryGeoIP.dat
geoip_city /path/to/GeoIPOrLiteCity.dat
But I do not have access to the httpd file of the server. Is it possible to use the .htaccess file to set up this module for NginX?
If I am mistaken regarding the httpd file, can you please tell me where the configuration file for Nginx is?
Thanks.