Setting a custom 404 page instead of the login page

Hello and welcome aboard.

What about using an nginx 444 return ?

=> https://http.dev/444
=> Tuto: Bloquer les requêtes selon le pays (for geoblocking, but you get the idea).