Sign inSign up

clefos/nginx

By clefos

•Updated about 9 years ago

A web server, which can also be used as a reverse proxy, load balancer and HTTP cache

Image
0

357

clefos/nginx repository overview

⁠Nginx Dockerfile

This repository contains Dockerfile of Nginx⁠ derived from (https://www.docker.com/)'s⁠ automated build⁠ published to the public Docker Hub Registry⁠.

⁠Base Docker Image

⁠Installation

  1. Install Docker⁠.

  2. docker build --name=nginx-1.8-s390x .

⁠Usage

docker run -d -p 80:80 nginx-1.8-s390x
⁠Attach persistent/shared directories
docker run -d -p 80:80 -v <sites-enabled-dir>:/etc/nginx/conf.d -v <certs-dir>:/etc/nginx/certs -v <log-dir>:/var/log/nginx -v <html-dir>:/var/www/html nginx-1.8-s390x

After few seconds, open http://<host> to see the welcome page.

Tag summary

Content type

Image

Digest

Size

76.8 MB

Last updated

about 9 years ago

docker pull clefos/nginx