将 Nginx升级到最新版(Ubuntu)

在 Ubuntu 系统,将 Nginx 升级到最新版本笔记。 添加源 1echo "deb http://nginx.org/packages/mainline/ubuntu `lsb_release -cs` nginx" \ 2 | sudo tee /etc/apt/sources.list.d/nginx.list 3curl -o /tmp/nginx_signing.key https://nginx.org/keys/nginx_signing.key 4sudo mv /tmp/nginx_signing.key /etc/apt/trusted.gpg.d/nginx_signing.asc 安装 1sudo...