From ab46038b114da25c9b6a5ed7054bb6d8ac7ce200 Mon Sep 17 00:00:00 2001 From: Brain-Gamer Date: Sat, 20 May 2017 20:00:30 +0200 Subject: [PATCH] Fixed nginx config generation --- Dockerfile.alpine-armhf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.alpine-armhf b/Dockerfile.alpine-armhf index 62d01eb..520bd2b 100644 --- a/Dockerfile.alpine-armhf +++ b/Dockerfile.alpine-armhf @@ -19,8 +19,8 @@ RUN apk add --update \ rm -rf /var/cache/apk/* # Configure Nginx and apply fix for very long server names -COPY ./nginx.conf /etc/nginx/nginx.conf -RUN sed -i 's/^http {/&\n server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf +RUN echo "daemon off;" >> /etc/nginx/nginx.conf \ + && sed -i 's/^http {/&\n server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf COPY . /app/ WORKDIR /app/