Comments to Aloha せかい - Protect sites with no authentication support with NGINX auth_request
Considering that you are deploying a system - a system with no builtin authentication system, but...