File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 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"
7777ENV DEBUG_NGINX="false"
7878# 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
7979ENV SLOW_TIER_ENABLED="false"
80+ # Statically define worker_processes; defaults to auto
81+ ENV WORKER_PROCESSES="auto"
8082
8183# Manifest caching tiers. Disabled by default, to mimick 0.4/0.5 behaviour.
8284# Setting it to true enables the processing of the ENVs below.
Original file line number Diff line number Diff line change 374374 echo " Upstream SSL certificate verification is DISABLED."
375375fi
376376
377+ # Set worker processes if provided
378+ sed -i " s/worker_processes auto;/worker_processes ${WORKER_PROCESSES} ;/g" /etc/nginx/nginx.conf
379+
377380echo " Testing nginx config..."
378381${NGINX_BIN} -t
379382
You can’t perform that action at this time.
0 commit comments