Update nginx version from 1.23.1 to 1.23.4.

This commit is contained in:
邱博亞 2024-01-01 20:37:17 +08:00
parent d103562362
commit 0c53309422
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ if [[ ! -f /etc/init.d/nginx ]]; then
sudo systemctl enable nginx
fi
fi
nginx_target_ver="1.23.1"
nginx_target_ver="1.23.4"
if [[ $(vercomp "$nginx_ver" "$nginx_target_ver") == "<" ]] || [[ "$1" == '--force' ]] || [[ "$install_modsecurity" == "1" ]] || [[ "$install_passenger" == "1" ]]; then
if [ -f "/etc/nginx/nginx.conf" ]; then
nginx_conf_exist="1"