I
I
Igor Terenichev2017-05-22 10:47:51
Nginx
Igor Terenichev, 2017-05-22 10:47:51

How to build nginx with geo module and display data on the page?

Unable to build nginx server with --with-http_geo_module (debian). Writes: invalid option "--with-http_geo_module". Is this module part of another? In general, everything is done for https://github.com/m-messiah/ip2geo
Another question: how to display the nginx variables that I get from the module on the page?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Terenichev, 2017-05-22
@terenichev

I have an assumption that nginx.org/ru/docs/http/ngx_http_geo_module.html was included in the http_geoip_module It seems like even the nginx config adopted the settings related to geo. I just want to make sure. But the question of how to display variables on the page remains open :)

L
Lynn "Coffee Man", 2017-05-22
@Lynn

I have a suspicion that this module is compiled by default and nothing needs to be rebuilt.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question