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 5f90de281b
Bump nginx to 1.23.1, Alpine to 3.16 and remove geoip support (#23)
4 months ago
.github/workflows Bump nginx to 1.23.1, Alpine to 3.16 and remove geoip support (#23) 4 months ago
tests Bump nginx to 1.23.1, Alpine to 3.16 and remove geoip support (#23) 4 months ago
Dockerfile Bump nginx to 1.23.1, Alpine to 3.16 and remove geoip support (#23) 4 months ago
LICENSE First commit 3 years ago
README.md Bump nginx to 1.23.1, Alpine to 3.16 and remove geoip support (#23) 4 months ago
build.sh Bump nginx to 1.23.1, Alpine to 3.16 and remove geoip support (#23) 4 months ago
conf.env Bump nginx to 1.23.1, Alpine to 3.16 and remove geoip support (#23) 4 months ago

README.md

minimal nginx

build

Nginx docker image with a minimal set of modules.

Current modules:

  • 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
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