mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-24 21:06:31 +00:00
Added newline to config
This commit is contained in:
parent
c091d08fee
commit
8534185b0c
@ -12,7 +12,7 @@ RUN apt-get update \
|
|||||||
# Generate dhparam.pem, configure Nginx, apply fix for very long server names
|
# Generate dhparam.pem, configure Nginx, apply fix for very long server names
|
||||||
RUN openssl dhparam -out /etc/nginx/dhparam.pem 2048 \
|
RUN openssl dhparam -out /etc/nginx/dhparam.pem 2048 \
|
||||||
&& echo "daemon off;" >> /etc/nginx/nginx.conf \
|
&& 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
|
# Install Forego
|
||||||
ADD https://github.com/jwilder/forego/releases/download/v0.16.1/forego /usr/local/bin/forego
|
ADD https://github.com/jwilder/forego/releases/download/v0.16.1/forego /usr/local/bin/forego
|
||||||
|
Loading…
Reference in New Issue
Block a user