Last active
December 7, 2019 18:02
-
-
Save badhonhitech/2479483219d83694ad916749e0e894a9 to your computer and use it in GitHub Desktop.
How to setup Nginx on Ubuntu
This file contains hidden or 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
# YouTube: https://youtu.be/9FX87-m6jMM | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install nginx | |
nginx --version | |
sudo nginx -T | |
sudo service nginx start | |
sudo service nginx stop | |
sudo service nginx start | |
sudo service nginx restart | |
sudo service enable nginx | |
sudo service nginx status | |
firefox http://localhost/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment