Browse Source

Hago borrar el nginx.conf preinstalado

main
Celestino Rey 10 months ago
parent
commit
2c5420e3c8
2 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Dockerfile
  2. +0
    -0
      nginx/nginx.conf

+ 2
- 1
Dockerfile View File

@ -5,7 +5,8 @@ USER 0
# install nginx
RUN apt-get update && apt-get install nginx -y
# copy our nginx configuration to overwrite nginx defaults
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
RUN rm /etc/nginx/conf.d/default.conf
COPY ./nginx/nginx.conf /etc/nginx/conf.d
# 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


nginx/default.conf → nginx/nginx.conf View File


Loading…
Cancel
Save