You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Daniel Carrillo 80dd1df1aa
Merge pull request #13 from dcarrillo/1.19.3
2 weeks ago
.github/workflows Bump nginx version to 1.19.1 3 months ago
tests Bump nginx version to 1.18.0 6 months ago
Dockerfile Bump alpine version to 3.12 and nginx to 1.19.3 2 weeks ago
LICENSE First commit 10 months ago
README.md Add github actions badge 3 months ago
build.sh Add linting at github actions 7 months ago
conf.env Bump alpine version to 3.12 and nginx to 1.19.3 2 weeks ago

README.md

minimal nginx

build

Nginx docker image with a minimal set of modules.

Current modules:

  • geoip2
  • stream
  • http_ssl_module
  • http_v2_module
  • http_stub_status_module

Configuration

Edit conf.env

NGINX_VERSION=x.xx.x          # Nginx version to build from
NGX_GEOIP2_VERSION=x.x        # Nginx geoip2 version to build from
DOCKER_IMAGE=dcarrillo/nginx  # Docker image

Build

Build locally:

./build.sh

Build locally and upload to a registry (you must be logged in to the registry)

./build.sh --push

Build locally, tag image as latest and upload to a registry (you must be logged in to the registry)

./build.sh --push --latest

Testing

Prerequisites:

  • docker
  • openssl
  • curl
# build local image
./build.sh

# run tests
./tests/test.sh

Who is using this image

ifconfig.es is a web service that displays information about your connection, including IP address, geolocation and request http headers. You can easily get your public ip address using curl, wget and other command-line http clients.