mirror of
https://github.com/dcarrillo/docker-nginx.git
synced 2025-11-19 21:32:36 +00:00
master
minimal nginx
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
Languages
Dockerfile
56.1%
Shell
33.7%
Makefile
10.2%