Update nginx to 1.20.0-1
This commit is contained in:
@@ -87,9 +87,9 @@ if [[ $(docker version --format {{.Client.Version}}) != "${docker_version}" ]];
|
||||
fi
|
||||
|
||||
readonly nginx_version=$(nginx -v 2>&1)
|
||||
if [[ "${nginx_version}" != *"1.18."* ]]; then
|
||||
log "installing nginx 1.18"
|
||||
$curl -sL http://nginx.org/packages/ubuntu/pool/nginx/n/nginx/nginx_1.18.0-2~${ubuntu_codename}_amd64.deb -o /tmp/nginx.deb
|
||||
if [[ "${nginx_version}" != *"1.20."* ]]; then
|
||||
log "installing nginx 1.20"
|
||||
$curl -sL http://nginx.org/packages/ubuntu/pool/nginx/n/nginx/nginx_1.20.0-1~${ubuntu_codename}_amd64.deb -o /tmp/nginx.deb
|
||||
|
||||
prepare_apt_once
|
||||
|
||||
|
||||
Reference in New Issue
Block a user