From a5d4a64f473dd14fd27977563e753e08a361c6ec Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Tue, 21 Dec 2021 19:04:00 +0000 Subject: [PATCH] nginx conf updates for older installs fixes #888 --- update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 42d81c18..ba17279a 100644 --- a/update.sh +++ b/update.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT_VERSION="127" +SCRIPT_VERSION="128" SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/update.sh' LATEST_SETTINGS_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/api/tacticalrmm/tacticalrmm/settings.py' YELLOW='\033[1;33m' @@ -174,6 +174,8 @@ if ! [[ $CHECK_NGINX_WORKER_CONN ]]; then sudo sed -i 's/worker_connections.*/worker_connections 2048;/g' /etc/nginx/nginx.conf fi +sudo sed -i 's/# server_names_hash_bucket_size.*/server_names_hash_bucket_size 64;/g' /etc/nginx/nginx.conf + HAS_PY39=$(which python3.9) if ! [[ $HAS_PY39 ]]; then printf >&2 "${GREEN}Updating to Python 3.9${NC}\n"