Secure start page with password (user name only as a option)


my enviroment is a Debian 10 Buster with nginx.

Is it possible to secure the start page with a password (user name only as a option)?

As protection from DDOS attack, or if I want only choosen guests.


Easy to do if there is a .htaccess in there witch i hope there is.