Back Home

Scaling Applications with Nginx

Nigix infront of Dockerized, python apps

  • Implement static file caching and microcaching for application‑generated files
  • implement load balancing among them (NGINX Plus has advanced features), and use session persistence for continuity in each user’s experience.

Geo Blocking (with Docker)

nginx must be compiled with the HttpGeoipModule. Run nginx -V to see the list of modules it was compiled with. And install the GeoIP database:

apt-get install geoip-database libgeoip1


FROM xxxx
 RUN apt-get update && apt-get install -y \
geoip-database \
 COPY content /usr/share/nginx/html
 COPY conf /etc/nginx
 VOLUME /usr/share/nginx/html
 VOLUME /etc/nginx
niginx.txt · Last modified: 2019/02/27 09:41 by root
RSS - 200 © CrosswireDigitialMedia Ltd