Created
September 18, 2018 07:17
-
-
Save syammohanmp/35b266fef791eb6b28c2340bdcf566c1 to your computer and use it in GitHub Desktop.
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
# remove nginx conf files | |
apt-get purge nginx | |
# reinstall | |
apt-get install nginx | |
# make sure the default site is enabled | |
ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default | |
# start nginx | |
sudo /etc/init.d/nginx start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment