A simple NGINX demo web server based on the official nginx and nginxinc container images.
There are two versions of this container image in order to provide compatibility with unprivileged environments:
| Tag | UID | GID | Ports |
|---|---|---|---|
latest | root | root | 80, 443 |
latest-unprivileged | nginx | nginx | 8080, 8443 |
The server will respond to health check requests on the /health endpoint.
The access log is enabled only for 4xx and 5xx responses.
A self-signed SAN certificate for *.nginx.net is provided to serve HTTPS traffic using TLSv1.2 or greater. A replacement certificate and key can be mounted in the container using the following paths:
| Type | Path |
|---|---|
Certificate | /etc/nginx/certs/tls.crt |
Key | /etc/nginx/certs/tls.key |
Content type
Image
Digest
sha256:1f8520de1…
Size
16.2 MB
Last updated
about 3 years ago
docker pull kryshakm/nginx-demo