worker_processes auto;

events { worker_connections 1024; }

  http {
    server {
        access_log off;
        error_log off;

        location / {
          root   /usr/share/nginx/html;
          index  index.html index.htm;

          auth_basic "Restricted";
          auth_basic_user_file  /etc/nginx/.htpasswd;

          include  /etc/nginx/mime.types;
    }
  }
}