Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.