mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-11-03 18:49:20 +00:00 
			
		
		
		
	refactor: remove unneeded nginx.conf modification
the upstream nginx.conf already has "worker_processes auto;"
This commit is contained in:
		@@ -21,8 +21,7 @@ RUN apk add --no-cache --virtual .run-deps \
 | 
			
		||||
   && update-ca-certificates
 | 
			
		||||
 | 
			
		||||
# Configure Nginx
 | 
			
		||||
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 \
 | 
			
		||||
RUN sed -i 's/worker_connections  1024/worker_connections  10240/' /etc/nginx/nginx.conf \
 | 
			
		||||
   && mkdir -p '/etc/nginx/dhparam'
 | 
			
		||||
 | 
			
		||||
# Install Forego + docker-gen
 | 
			
		||||
 
 | 
			
		||||
@@ -20,8 +20,7 @@ RUN apt-get update \
 | 
			
		||||
   && rm -r /var/lib/apt/lists/*
 | 
			
		||||
 | 
			
		||||
# Configure Nginx
 | 
			
		||||
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 \
 | 
			
		||||
RUN sed -i 's/worker_connections  1024/worker_connections  10240/' /etc/nginx/nginx.conf \
 | 
			
		||||
   && mkdir -p '/etc/nginx/dhparam'
 | 
			
		||||
 | 
			
		||||
# Install Forego + docker-gen
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user