Trying to Add geoIP to my nginx server, but for some reason it's not quite working and I can't seem to figure out why not. If i try to add anything related to geoip_country in my config file, I get the error [emerg] unknown directive "geoip_country" in /etc/nginx/nginx.conf
Running Nginx 1.21.1 on Ubuntu 18.04.5 LTS.
nginx -V shows --with-http_geoip_module=dynamic and in my nginx.conf file I have load_module /etc/nginx/modules-enabled/ngx_http_geoip2_module.so;