diff options
| author | fumingwei <[email protected]> | 2021-09-17 11:14:26 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2021-09-17 11:14:26 +0800 |
| commit | 44309fb2631dc3f30e7c84e425fd852234a34ffa (patch) | |
| tree | 218b360587b35f48bc5a047b31832859630c8868 | |
| parent | 5d64951c47da46b187671f04c2279d9e0943b41c (diff) | |
bugfix:TSG-7685:自检产生过多的worker进程
| -rw-r--r-- | images_build/server_web/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |
