|
@@ -21,8 +21,7 @@ RUN apk add --no-cache --virtual .run-deps \
|
|
|
&& update-ca-certificates
|
|
|
|
|
|
# Configure Nginx
|
|
|
-RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
|
|
|
- && sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf \
|
|
|
+RUN sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf \
|
|
|
&& sed -i 's/worker_connections 1024/worker_connections 10240/' /etc/nginx/nginx.conf \
|
|
|
&& mkdir -p '/etc/nginx/dhparam'
|
|
|
|