Sign inSign up

mythreyak/nginx

By mythreyak

•Updated over 6 years ago

A minimal NGINX image for fast and secure docker containers.

Image
0

312

mythreyak/nginx repository overview

⁠NGINX

A minimal NGINX image compiled with security flags and TLS 1.3 support for fast and secure docker containers. Built with most modules nginx supports. Final docker image size with libraries is ~15MB.

This image features an nginx binary with Read only relocation (Full RELRO), Stack protection (canary), No Execute on data (NX), Address space randomization Full ASLR, Buffer Overflow checks (FORTIFY_SOURCE) and replaced server tokens (Server: nignx/ver to Server: server/ver)* HTTP header and support for the latest HTTPS (TLS 1.3) protocol.

Master process runs as root user, worker processes as nginx.
* Custom fields are available when building from Dockerfile with CLI options. DockerHub image uses a generic server/1.0 token.

⁠Package versions

PackageVersion
NGINX1.16.0
OpenSSL1.1.1.c
PCRE8.43
Zlib1.2.11
LibGD2.2.5

⁠How to use

⁠Build from dockerfile

To build the docker image yourself, just clone this repo⁠ and run docker build -t <name:tag> and docker run -p <host:container> <name:tag> [optional-args]. Use the optional arguments to specify server tokens.

⁠DockerHub

Pull the image using docker pull mythreyak/nginx:latest

⁠Find me on Github⁠

Tag summary

Content type

Image

Digest

Size

5.6 MB

Last updated

about 7 years ago

docker pull mythreyak/nginx