Nginx, MariaDB and php

The LEMP stack consists of Linux, Nginx, MySQL, and PHP. It is similar to the LAMP stack, but instead of using the Apache web server, it uses Nginx instead.

https://docs.vultr.com/how-to-install-nginx-mariadb-php-lemp-on-debian-10

You can restrict access to your website or some parts of it by implementing a username/password authentication.

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