mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00:00
refactor: remove unneeded nginx.conf modification
the upstream nginx.conf already has "worker_processes auto;"
This commit is contained in:
parent
de4cb3d2b0
commit
758b43a5b2
@ -21,8 +21,7 @@ RUN apk add --no-cache --virtual .run-deps \
|
|||||||
&& update-ca-certificates
|
&& update-ca-certificates
|
||||||
|
|
||||||
# Configure Nginx
|
# Configure Nginx
|
||||||
RUN sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf \
|
RUN sed -i 's/worker_connections 1024/worker_connections 10240/' /etc/nginx/nginx.conf \
|
||||||
&& sed -i 's/worker_connections 1024/worker_connections 10240/' /etc/nginx/nginx.conf \
|
|
||||||
&& mkdir -p '/etc/nginx/dhparam'
|
&& mkdir -p '/etc/nginx/dhparam'
|
||||||
|
|
||||||
# Install Forego + docker-gen
|
# Install Forego + docker-gen
|
||||||
|
@ -20,8 +20,7 @@ RUN apt-get update \
|
|||||||
&& rm -r /var/lib/apt/lists/*
|
&& rm -r /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Configure Nginx
|
# Configure Nginx
|
||||||
RUN sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf \
|
RUN sed -i 's/worker_connections 1024/worker_connections 10240/' /etc/nginx/nginx.conf \
|
||||||
&& sed -i 's/worker_connections 1024/worker_connections 10240/' /etc/nginx/nginx.conf \
|
|
||||||
&& mkdir -p '/etc/nginx/dhparam'
|
&& mkdir -p '/etc/nginx/dhparam'
|
||||||
|
|
||||||
# Install Forego + docker-gen
|
# Install Forego + docker-gen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user