1
0
mirror of https://github.com/dcarrillo/docker-nginx.git synced 2025-11-19 22:42:36 +00:00

minimal nginx

build

Nginx docker image with a minimal set of modules. The image is based on the official Nginx image and it is built from source.

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 target

Build

Build locally:

make build

Push image (it includes latest tag):

make push-latest

Testing

Prerequisites:

  • docker
  • openssl
  • curl
make tests
Description
No description provided
Readme GPL-3.0 2 MiB
Languages
Dockerfile 56.1%
Shell 33.7%
Makefile 10.2%