Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
NGINX Install Ubuntu
sudo wget https://nginx.org/keys/nginx_signing.key
sudo apt-key add nginx_signing.key
sudo nano /etc/apt/sources.list
#Add
deb https://nginx.org/packages/mainline/ubuntu/ bionic nginx
deb-src https://nginx.org/packages/mainline/ubuntu/ bionic nginx
Save & Exit
sudo apt-get remove nginx-common
sudo apt-get update
sudo apt-get install nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment