title: Nginx - Password Protect Not Working
body: <p>I have followed instructions and still I cant password protect my site. This is what my app-nginx.config looks like:</p>
  
  <pre><code>server {
      listen       80;
      server_name  Server_Test;
      auth_basic            "Restricted";
      auth_basic_user_file  /usr/local/nginx/conf/htpasswd;
  
  ...
  
  }
  </code></pre>
  
  <p>Where am I going wrong? I copied and pasted this right from a tutorial site.</p>