remote_user and remote_password for custom http authentication?

Igor Sysoev is at
Sun Oct 14 14:51:41 MSD 2007

On Sun, Oct 14, 2007 at 02:53:13PM +0800, Jed Schmidt wrote:

> Can anyone out there tell me whether it would be possible to access
> the remote user name and password ($user and $password in
> http://$user:$ so that I can roll my own basic
> HTTP authentication?
> It seems to me that remote_user is only available when the Auth Basic
> module is enabled, but am I missing something?

No, The $remote_user variable is available without ngx_http_auth_basic_module,
however, currently there is no $remote_password variable, althogh, it could
be easy added.

Igor Sysoev

More information about the nginx mailing list