Container with nginx serving mirror of one file provided by ENV var.
1.7K
The purpose of this docker images is to create a container with nginx serving one only file. It might be the case that you want to distribute bandwith to serve one file to multiple clients.
$ docker build -t nginx-mirror .
$ docker run -d -p 80:80 -p 443:443 -e URL_FILE=http://server.com/file nginx-mirror
$ docker run -d -p 80:80 -p 443:443 -e URL_FILE=http://server.com/file pmoncadaisla/nginx-mirror
Content type
Image
Digest
sha256:e27b9ec0a…
Size
49 MB
Last updated
almost 11 years ago
docker pull pmoncadaisla/nginx-mirror