diff --git a/Dockerfile b/Dockerfile index 3d748c7..48875bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ FROM nginx:stable-alpine +RUN \ + apk upgrade --no-cache && \ + rm -rf /var/cache/apk/* + RUN \ echo 'fastcgi_param HTTP_PROXY "";' >> /etc/nginx/fastcgi.conf && \ echo 'fastcgi_buffers 8 16k;' >> /etc/nginx/fastcgi.conf && \ diff --git a/nginx.conf b/nginx.conf index 8577b17..14371c5 100644 --- a/nginx.conf +++ b/nginx.conf @@ -15,7 +15,7 @@ events { http { upstream phpfpm_backend { - server fpm:9000; + server 127.0.0.1:9000; } include /etc/nginx/mime.types;