Install Nginx
sudo apt-get -y install nginx
curl http://localhost:80
The default configuration file of Nginx: is /etc/nginx/sites-enabled/default
cat /etc/nginx/sites-enabled/default less /etc/nginx/sites-enabled/default (q to quit)
- Edit /var/www/html/index.nginx-debian.html
- Then reload the page using curl and your browser and observe the change.
- Create more pages. etc.