HUB
Sign inSign up

pruh/nginx-with-modules

By pruh

•Updated 1 day ago

Vanilla nginx with additional modules

Image
0

9.2K

pruh/nginx-with-modules repository overview

⁠nginx-with-modules

The repository contains a Dockerfile to build a vanilla nginx with additional modules. The GitHub action pushes the image to Docker Hub on new nginx version. The image can be used in environments where additional modules are required, such as with Authelia⁠.

Currently only contains the following modules:

  1. ngx_devel_kit⁠
  2. http_set_misc⁠

Official nginx⁠ documentation can be used on information on how to start the container. Making changes to nginx configuration, requires starting the container first without volumes. Then you need to copy created configuration to some directory on the docker host. After that You can map copied configuration on the host to config directory on nginx container:

$ docker run --name tmp-nginx-container -d pruh/nginx-with-modules
$ docker cp tmp-nginx-container:/etc/nginx/ /host/path/
$ docker rm -f tmp-nginx-container
Tag summary
Recent tags
Content type
Image
Digest
sha256:bf9d46ca7…
Size
8.1 MB
Last updated
1 day ago
docker pull pruh/nginx-with-modules:latest