diff --git a/Dockerfile b/Dockerfile index 908c05520cc..4f628e80695 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ FROM nginx:alpine-slim COPY --from=builder /src/webapp /app # Override default nginx config -COPY /nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf +COPY /docker/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf RUN rm -rf /usr/share/nginx/html \ && ln -s /app /usr/share/nginx/html diff --git a/nginx/conf.d/default.conf b/docker/nginx/conf.d/default.conf similarity index 97% rename from nginx/conf.d/default.conf rename to docker/nginx/conf.d/default.conf index 0ae57903744..9920128e8d4 100644 --- a/nginx/conf.d/default.conf +++ b/docker/nginx/conf.d/default.conf @@ -1,6 +1,5 @@ server { listen 80; - listen [::]:80; server_name localhost; root /usr/share/nginx/html;