Simple example of passing a short domain name over to a long one. Useful when url shortening
<VirtualHost *:80>
ServerName short.me
ServerAlias www.short.me
ProxyPass / http://myverylongdomainname.com/
</VirtualHost>
Create HTTP password
htpasswd -c -d /etc/nginx/htpasswd duncan