File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ ENV DEBUG_HUB="false"
77
77
ENV DEBUG_NGINX="false"
78
78
# Enable slow caching tier; this allows caching in a secondary cache path on e.g a larger slower disk; for known URIs defined in SLOW_TIER_URIS
79
79
ENV SLOW_TIER_ENABLED="false"
80
+ # Statically define worker_processes; defaults to auto
81
+ ENV WORKER_PROCESSES="auto"
80
82
81
83
# Manifest caching tiers. Disabled by default, to mimick 0.4/0.5 behaviour.
82
84
# Setting it to true enables the processing of the ENVs below.
Original file line number Diff line number Diff line change 374
374
echo " Upstream SSL certificate verification is DISABLED."
375
375
fi
376
376
377
+ # Set worker processes if provided
378
+ sed -i " s/worker_processes auto;/worker_processes ${WORKER_PROCESSES} ;/g" /etc/nginx/nginx.conf
379
+
377
380
echo " Testing nginx config..."
378
381
${NGINX_BIN} -t
379
382
You can’t perform that action at this time.
0 commit comments