Public | Automated Build

Last pushed: a year ago
Short Description
Docker image with Nginx and the GeoIP module
Full Description

Nginx Docker Image with GeoIP 2 Support

Usage

docker run -d --name=nginx czerasz/nginx-geoip2:latest

Or use in Dockerfile:

FROM czerasz/nginx-geoip2:latest

# Add GeoIP configuration file to enable GeoIP 2 variables
ADD ./config/geoip2.conf /etc/nginx/conf.d/geoip2.conf

Test

Build container:

./scripts/docker-build.sh

Run tests:

./test/test.sh
Docker Pull Command
Owner
czerasz
Source Repository

Comments (0)