nginx: fix geoip check logic

fixed #14