nginx geoip redirect for first time only leads to redirect loop