Public | Automated Build

Last pushed: 2 months ago
Short Description
A standard ubuntu nginx installation with support for HTTP and HTTPS ports. Standard ubuntu distribution as well as the stable and mainline nginx builds are available.
Full Description

Nginx Docker Image

The Dockerfile included in the repository creates an image based on the
ubuntu14.04 image with nginx installed.

The file /etc/nginx/nginx.conf is modified to turn off daemon mode and to
log the access_log and error_log to stdout. Ports 80 and 443 are exposed by

You can serve static content by attaching a volume of content from the host to
the container, i.e.:

docker run -v /path/to/content:/usr/share/nginx/html -p -d devries/nginx

You can use the container with a custom proxy configuration by putting proxy
info in a directory and using that directory as the sites-enabled location
in the container, i.e.:

docker run -v /path/to/proxy/config/directory:/etc/nginx/sites-enabled -p -d devries/nginx
Docker Pull Command
Source Repository

Comments (4)
2 months ago

Updated on July 13, 2017 to fix the vulnerability CVE-2017-7529.

a year ago

The most recent build (October 19, 2016) adds support for ALPN. You can now go back to having HTTP/2 enabled for your Google Chome users.

a year ago

Most recent build fixes vulnerability CVE-2016-2107.

2 years ago

The devries/nginx:mainline build now can use HTTP/2 protocol. Please see this notification for information about enabling HTTP/2 and disabling SPDY.