diff --git a/Dockerfile b/Dockerfile index 88f96cf..98392e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,4 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf COPY *.html /usr/share/nginx/html/ COPY assets/ /usr/share/nginx/html/assets/ EXPOSE 80 -HEALTHCHECK CMD wget -qO- http://localhost/ >/dev/null 2>&1 || exit 1 +HEALTHCHECK CMD wget -qO- http://127.0.0.1/ >/dev/null 2>&1 || exit 1 diff --git a/nginx.conf b/nginx.conf index 1c20828..9083993 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,5 +1,6 @@ server { listen 80; + listen [::]:80; server_name _; root /usr/share/nginx/html; index index.html;