Sign inSign up

dangerous/nginx

By dangerous

Updated almost 11 years ago

Nginx w/ Proxy Pass

Image
0

10K+

dangerous/nginx repository overview

Nginx Server

$ docker build -t nginx .
$ docker run -d -p 80:80 --name nginx dangerous/nginx
Docker Hub
$ docker pull dangerous/nginx

Dockerfile

FROM nginx

RUN rm /etc/nginx/conf.d/default.conf || echo "File does not exist"
RUN rm /etc/nginx/conf.d/example_ssl.conf || echo "File does not exist"

COPY config/nginx.conf /etc/nginx/
COPY config/default /etc/nginx/sites-enabled/
COPY html/index.html /etc/nginx/html/

Tag summary

Content type

Image

Digest

sha256:a5e13f36e

Size

38.1 MB

Last updated

almost 11 years ago

docker pull dangerous/nginx