Update nginx version from 1.23.1 to 1.23.4.
This commit is contained in:
parent
d103562362
commit
0c53309422
|
@ -206,7 +206,7 @@ if [[ ! -f /etc/init.d/nginx ]]; then
|
||||||
sudo systemctl enable nginx
|
sudo systemctl enable nginx
|
||||||
fi
|
fi
|
||||||
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 [[ $(vercomp "$nginx_ver" "$nginx_target_ver") == "<" ]] || [[ "$1" == '--force' ]] || [[ "$install_modsecurity" == "1" ]] || [[ "$install_passenger" == "1" ]]; then
|
||||||
if [ -f "/etc/nginx/nginx.conf" ]; then
|
if [ -f "/etc/nginx/nginx.conf" ]; then
|
||||||
nginx_conf_exist="1"
|
nginx_conf_exist="1"
|
||||||
|
|
Loading…
Reference in New Issue