Skip to content

Commit 1867228

Browse files
author
neil
committed
fix worker_processes to "auto"
1 parent 23a2c7d commit 1867228

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ RUN apt-get update \
1111

1212
# Configure Nginx and apply fix for very long server names
1313
RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
14-
&& sed -i 's/^http {/&\n server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf
14+
&& sed -i 's/^http {/&\n server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf \
15+
&& sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf
1516

1617
# Install Forego
1718
ADD https://github.com/jwilder/forego/releases/download/v0.16.1/forego /usr/local/bin/forego

0 commit comments

Comments
 (0)