Skip to content

Commit a3cd96e

Browse files
author
neil
committed
alpine fix worker_processes to "auto"
1 parent 1867228 commit a3cd96e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.alpine

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ RUN apk add --no-cache --virtual .run-deps \
88

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

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

0 commit comments

Comments
 (0)