Browse Source

Quito sites-enable/default

main
Celestino Rey 10 months ago
parent
commit
ed43071f0c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Dockerfile

+ 1
- 0
Dockerfile View File

@ -5,6 +5,7 @@ USER 0
# install nginx # install nginx
RUN apt-get update && apt-get install nginx -y RUN apt-get update && apt-get install nginx -y
# copy our nginx configuration to overwrite nginx defaults # copy our nginx configuration to overwrite nginx defaults
RUN rm /etc/nginx/sites-enabled/default
COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
# link nginx logs to container stdout # link nginx logs to container stdout
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log


Loading…
Cancel
Save