GeoIP module for Apache and nginx

I’m curious about installing other third-party modules to Apache and nginx for local use. The idea here is to mimic the production environment as much as possible when working locally. In particular, I’m wanting to install the following module. Just not sure how to go about getting things like this to happen within the Docker container for a particular site.

Thanks for your help!

I think this is possible by choosing a custom environment, running Apache. Then SSH into the site and install nginx.
Some install instructions:
Nginx modules need to be installed at compilation:

You could also ask your host to partner with us to build a Local Add-on tailored to their production environment: