Created
January 30, 2020 01:17
-
-
Save hewersonfreitas/5f7ee38f086d8ef80ade0708bc9d04f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Uninstall Nginx | |
sudo apt-get remove nginx nginx-full nginx-common | |
//Then, install Nginx following document: http://nginx.org/en/linux_packages.html#Ubuntu | |
sudo apt install curl gnupg2 ca-certificates lsb-release | |
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 update | |
sudo apt install nginx nginx-full nginx-common |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment