1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-22 03:46:29 +00:00

Added newline to config

This commit is contained in:
Steve Kamerman 2016-10-03 10:05:55 -04:00 committed by GitHub
parent c091d08fee
commit 8534185b0c

View File

@ -12,7 +12,7 @@ RUN apt-get update \
# Generate dhparam.pem, configure Nginx, apply fix for very long server names
RUN openssl dhparam -out /etc/nginx/dhparam.pem 2048 \
&& echo "daemon off;" >> /etc/nginx/nginx.conf \
&& sed -i 's|^http {|&\n server_names_hash_bucket_size 128; ssl_dhparam /etc/nginx/dhparam.pem;|g' /etc/nginx/nginx.conf
&& sed -i 's|^http {|&\n server_names_hash_bucket_size 128;\n ssl_dhparam /etc/nginx/dhparam.pem;|g' /etc/nginx/nginx.conf
# Install Forego
ADD https://github.com/jwilder/forego/releases/download/v0.16.1/forego /usr/local/bin/forego