From 36be582e6913f5a0fddf88d84e1749da5fd14ca8 Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Sat, 15 Aug 2015 12:07:48 +0200 Subject: [PATCH] Remove duplicate access log --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index abfae74..f59a0d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ RUN apt-get update \ # Configure Nginx and apply fix for very long server names RUN echo "daemon off;" >> /etc/nginx/nginx.conf \ - && sed -i 's/^http {/&\n server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf + && sed -i 's/^http {/&\n server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf \ + && sed -i 's/access_log/#access_log/g' /etc/nginx/nginx.conf # Install Forego RUN wget -P /usr/local/bin https://godist.herokuapp.com/projects/ddollar/forego/releases/current/linux-amd64/forego \