When setting up a web server, there are often sections of the site that you wish to restrict access to. Web applications often provide their own authentication and authorization methods, but the web server itself can be used to restrict access.
How To Set Up Password Authentication with Nginx on Rocky Linux 9
How To Set Up Password Authentication with Nginx on Rocky Linux 8
How To Set Up Password Authentication with Nginx on Ubuntu 22.04
How To Set Up Password Authentication with Nginx on Ubuntu 20.04
How To Set Up Password Authentication with Nginx on Ubuntu 14.04
How To Set Up HTTP Authentication With Nginx On Ubuntu 12.10