From 44309fb2631dc3f30e7c84e425fd852234a34ffa Mon Sep 17 00:00:00 2001 From: fumingwei Date: Fri, 17 Sep 2021 11:14:26 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:TSG-7685:=E8=87=AA=E6=A3=80=E4=BA=A7?= =?UTF-8?q?=E7=94=9F=E8=BF=87=E5=A4=9A=E7=9A=84worker=E8=BF=9B=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- images_build/server_web/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/images_build/server_web/Makefile b/images_build/server_web/Makefile index c0090f2..28488dc 100644 --- a/images_build/server_web/Makefile +++ b/images_build/server_web/Makefile @@ -74,6 +74,7 @@ link: # Add the badssl.conf include to /etc/nginx/nginx.conf only if it is not already in the config. # If /etc/nginx/nginx.conf does not exist, instead warn the user that it must be manually added. if [ -f /etc/nginx/nginx.conf ]; then \ + sed -i 's/worker_processes auto/worker_processes 1/' /etc/nginx/nginx.conf; \ if ! grep -q "include /var/www/badssl/_site/nginx.conf" /etc/nginx/nginx.conf; then \ sed -i '/# Virtual Host Configs/a\\tinclude /var/www/badssl/_site/nginx.conf;' /etc/nginx/nginx.conf; \ fi \