Restricting Access with HTTP Basic Authentication

  Nginx

Good Read: https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/