Hello!
On Wed, Sep 23, 2015 at 6:53 PM, Khang Nguyễn Nhật wrote:
> I get results Country Code: nil and Country name: nil.
> Did I get the wrong configuration at any step? please help me solve this
> problem !
How did you send your test require? You won't get anything if your
client is using private IP addresses like 127.0.0.1. The easiest way
to test this thing is to use the standard ngx_realip module.
If you still have no clues with a good public IP address, then you can
try enable the nginx debugging logs:
http://nginx.org/en/docs/debugging_log.html
If you want to share the logs here, please use web paste services like
gist.github.com to avoid flooding the list with too much text.
Regards,
-agentzh