$ 0 0 I think this post might be helpful to get you started: http://www.cyberciti.biz/faq/linux-unix-nginx-access-control-howto/