Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ http {
'' close;
}

resolver 127.0.0.11 ipv6=off;
include /etc/nginx/conf.d/resolver.conf;

server {
listen 80;
Expand Down Expand Up @@ -90,4 +90,4 @@ http {
proxy_set_header X-Real-IP $remote_addr;
}
}
}
}
1 change: 1 addition & 0 deletions .docker/resolver.conf.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
resolver $NGINX_LOCAL_RESOLVERS ipv6=off;
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ EXPOSE 80

COPY .docker/scripts/ /docker-entrypoint.d/
COPY .docker/nginx.conf /etc/nginx/
COPY .docker/resolver.conf.template /etc/nginx/templates/

RUN chmod +x /docker-entrypoint.d/100-envsubst-on-app-envs.sh

Expand Down