Ir para arquivo
Daniel Carrillo ac2cad9244
Bump nginx to 1.25.4
2024-02-22 20:31:54 +01:00
.github/workflows chore: Add tests to deployment workflow 2023-09-10 12:09:30 +02:00
tests Bump nginx to 1.23.1, Alpine to 3.16 and remove geoip support (#23) 2022-07-25 20:47:36 +02:00
Dockerfile Bump nginx to 1.25.2 and alpine base image to 3.18 2023-09-10 12:05:52 +02:00
LICENSE First commit 2019-12-15 12:10:37 +01:00
README.md Bump nginx to 1.23.3 and alpine base image to 3.17 (#24) 2023-03-16 20:35:42 +01:00
build.sh Bump nginx to 1.23.1, Alpine to 3.16 and remove geoip support (#23) 2022-07-25 20:47:36 +02:00
conf.env Bump nginx to 1.25.4 2024-02-22 20:31:54 +01:00

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 the image to a registry (you must be logged in to the registry)

./build.sh --push

Build locally, tag the image as latest and upload it 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