mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2024-05-26 09:26:16 +02:00
Merge pull request #973 from Sparted/master
Upd: Boost worker_connections from 1024 to 10240.
This commit is contained in:
commit
35df872705
|
@ -53,7 +53,8 @@ RUN apt-get update \
|
|||
|
||||
# Configure Nginx and apply fix for very long server names
|
||||
RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
|
||||
&& sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf
|
||||
&& 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
|
||||
|
||||
# Install Forego + docker-gen
|
||||
COPY --from=forego /go/src/github.com/ddollar/forego/forego /usr/local/bin/forego
|
||||
|
|
|
@ -50,7 +50,8 @@ RUN apk add --no-cache --virtual .run-deps \
|
|||
|
||||
# Configure Nginx and apply fix for very long server names
|
||||
RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
|
||||
&& sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf
|
||||
&& 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
|
||||
|
||||
# Install Forego + docker-gen
|
||||
COPY --from=forego /go/src/github.com/ddollar/forego/forego /usr/local/bin/forego
|
||||
|
|
Loading…
Reference in New Issue