File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ RUN add-apt-repository -y ppa:nginx/stable
12
12
RUN apt-get update
13
13
RUN apt-get install -y nginx
14
14
RUN echo "\n daemon off;" >> /etc/nginx/nginx.conf
15
- RUN sed -i 's/80 default_server/80/' /etc/nginx/sites-available/default
16
15
17
16
# Define mountable directories.
18
17
VOLUME ["/data" , "/etc/nginx/sites-enabled" , "/var/log/nginx" ]
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ This repository contains **Dockerfile** of [Nginx](http://nginx.org/) for [Docke
26
26
27
27
docker run -d -p 80:80 -v <sites-enabled-dir>:/etc/nginx/sites-enabled -v <log-dir>:/var/log/nginx dockerfile/nginx
28
28
29
- Open ` http://<host> ` to see the welcome page.
29
+ After few seconds, open ` http://<host> ` to see the welcome page.
You can’t perform that action at this time.
0 commit comments