nginx needs a config to start

This commit is contained in:
Jonathan Adami 2020-04-26 17:39:19 +10:00
parent d67a583e6b
commit dd1bb9b0e5

View file

@ -18,7 +18,6 @@ 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/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf \
&& rm /etc/nginx/conf.d/default.conf \
&& mkdir /etc/nginx/node.conf.d \
&& echo "http { include ./*.conf; }" > /etc/nginx/node.conf.d/swarm.conf