stable版の20.1をインストール
1 2 3 4 5 6 7 8 9 10 |
sudo apt -y update sudo apt -y install curl gnupg2 ca-certificates lsb-release | sudo tee /etc/apt/sources.list.d/nginx.list echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add - sudo apt-key fingerprint ABF5BD827BD9BF62 sudo apt -y update sudo apt-cache showpkg nginx sudo apt-get install 1.20.1 |