How to password protect directory with Nginx .htpasswd authentication

I need to restrict access to /app/ directory on Nginx. How do I set up password protect a directory with Nginx .htpasswd authentication on Linux or Unix-like systems?
The post How to password protect directory with Nginx .htpasswd authentication appea…

I need to restrict access to /app/ directory on Nginx. How do I set up password protect a directory with Nginx .htpasswd authentication on Linux or Unix-like systems?

The post How to password protect directory with Nginx .htpasswd authentication appeared first on nixCraft.


Print Share Comment Cite Upload Translate
APA
() » How to password protect directory with Nginx .htpasswd authentication. Retrieved from https://www.truth.cx/2021/01/31/how-to-password-protect-directory-with-nginx-htpasswd-authentication/.
MLA
" » How to password protect directory with Nginx .htpasswd authentication." - , https://www.truth.cx/2021/01/31/how-to-password-protect-directory-with-nginx-htpasswd-authentication/
HARVARD
» How to password protect directory with Nginx .htpasswd authentication., viewed ,
VANCOUVER
- » How to password protect directory with Nginx .htpasswd authentication. [Internet]. [Accessed ]. Available from: https://www.truth.cx/2021/01/31/how-to-password-protect-directory-with-nginx-htpasswd-authentication/
CHICAGO
" » How to password protect directory with Nginx .htpasswd authentication." - Accessed . https://www.truth.cx/2021/01/31/how-to-password-protect-directory-with-nginx-htpasswd-authentication/
IEEE
" » How to password protect directory with Nginx .htpasswd authentication." [Online]. Available: https://www.truth.cx/2021/01/31/how-to-password-protect-directory-with-nginx-htpasswd-authentication/. [Accessed: ]
Select a language: