Z
Z
zubig2019-04-30 13:57:22
Nginx
zubig, 2019-04-30 13:57:22

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

2 answer(s)
K
ky0, 2019-04-30
@ky0

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.

C
carnivore72, 2019-05-09
@carnivore72

apt-mark hold nginx will freeze nginx update in debian

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question