Public Repository

Last pushed: 2 years ago
Short Description
Nginx w/ Proxy Pass
Full Description

Nginx Server

Run Nginx container and link other containers

$ 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/
Docker Pull Command
Owner
dangerous

Comments (0)