Answer the question
In order to leave comments, you need to log in
Geoip2 nginx - how to do it right?
You need to add ngx_http_geoip2_module or another similar one as a dynamic module to the one already installed from the nginx repository.
The most attractive option is from offsite: https://docs.nginx.com/nginx/admin-guide/dynamic-m...
But of course it doesn't work, as it is intended for nginx-plus.
If you manually rebuild as the author of the module suggests: https://github.com/leev/ngx_http_geoip2_module
Then, if I understand correctly, it will work before the first update of nginx, which is not satisfactory.
What is the best way to proceed in this situation? Thank you!
Answer the question
In order to leave comments, you need to log in
If you started building the package by hand, then all updates in the future should occur uniformly, with the same build parameters. There is nothing wrong with that, in general.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question