I am trying to use the GeoIP module with my Nginx and Uwsgi stack. All the tutorials relate to using it with fastcgi, but since I dont use fastcgi it doesnt help.
I need to get nginx to pass GeoIP data into your CGI app via custom HTTP headers, e.g.:
proxy_set_header X-GeoIP-Country $geoip_country_name;
proxy_set_header X-GeoIP-City $geoip_city;
How do I do this with Uwsgi?