Sign inSign up

czerasz/nginx-geoip2

By czerasz

Updated over 10 years ago

Docker image with Nginx and the GeoIP module

Image
3

9.5K

czerasz/nginx-geoip2 repository overview

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

Tag summary

Content type

Image

Digest

Size

227.1 MB

Last updated

over 10 years ago

docker pull czerasz/nginx-geoip2