Nginx

How to set up http protection (http authentication) in Nginx on Ubuntu

There are many situations we want to protect our site accessing our website from outside. For example you have a development site which you want to restrict from search engine crawling. Also you may like to protect some part/sections of your website from public visits or search engine crawling. For example like wordpress, joomla ...