Custom docker image for NGINX running on Alpine Linux, used in cookiecutter-rt-django template.
Dockerfile is created based on an official NGINX dockerfile for adding third-party modules, however it is pinned to the given NGINX version and doesn't use the mainline image.
$ docker build -t nginx-rt .
- From
Dockerfile
:FROM ghcr.io/reef-technologies/nginx-rt:master ...
- From
docker-compose.yml
:services: nginx: image: 'ghcr.io/reef-technologies/nginx-rt:master' ...
Enabled features:
- Secure SSL configuration
- Cloudflare DNS resolver
- Brotli compression
- Preinstalled custom modules
Modules that are available by default:
- ngx_brotli - Brotli compression
- ngx_http_headers_more_filter_module - Set, add, and clear arbitrary output headers in NGINX http servers
- ngx_http_vhost_traffic_status_module - Nginx virtual host traffic status
This project is licensed under the terms of the BSD-3 License