Upon my server, I am running Webalizer on a few of my client's websites (and associated log files of access). Now this process is fine, and the log files are generated correctly and stored.
What I am trying to set up nginx to do, is for a user to access a domain (logging.{hostname of my server}) and to be presented with the usual htpasswd powered login box. The user then enters the username and password that I have given them, and based on which user logs in, I would like them to be redirected to a relevant folder I specify.
I've done a load of research and I can't figure if this is possible and if so, how to achieve it. Setting up individual logins for each folder seems un-necessary.
Thanks in advance!