How to enable dynamic module with an existing NGINX installation
I had the same question, and @vladiastudillo answer was the missing piece I needed. First add the nginx stable repo: sudo add-apt-repository ppa:nginx/stable Then run apt update: sudo apt-get update And get the nginx geoip module: sudo apt-get install nginx-module-geoip This will download and load the module to /usr/lib/nginx/modules To load the nginx module, open … Read more