Skip to content

Instantly share code, notes, and snippets.

@grumpysi
Created December 9, 2020 11:37
Show Gist options
  • Save grumpysi/4e21fb8e2df943ff18a236b5eeeb5af0 to your computer and use it in GitHub Desktop.
Save grumpysi/4e21fb8e2df943ff18a236b5eeeb5af0 to your computer and use it in GitHub Desktop.
Laravel Forge provisioned server: Upgrade Nginx 1.15.8 to 1.18.0 on Ubuntu
sudo apt update
apt list --upgradable
mkdir nginx-backup2
sudo cp -r /etc/nginx/* /etc/nginx-backup2/
sudo add-apt-repository ppa:nginx/stable
sudo apt update
apt list --upgradable
...
nginx/bionic 1.18.0-3ubuntu1+bionic1 all [upgradable from: 1.15.8-0+bionic0]
nginx-common/bionic 1.18.0-3ubuntu1+bionic1 all [upgradable from: 1.15.8-0+bionic0]
nginx-full/bionic 1.18.0-3ubuntu1+bionic1 amd64 [upgradable from: 1.15.8-0+bionic0]
...
sudo apt upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment