Password Protected Page NGINX


I need to allow a password protected page through. I have your instructions on .htaccess, but my host uses NGINX rather than .htaccess.

Could you please advise how I can allow this page through when it doesn’t have a .htaccess file.


It looks like this will do the trick:

Let me know if it works for you!