remote_user and remote_password for custom http authentication?

Jed Schmidt tr at
Sun Oct 14 19:10:22 MSD 2007


It would be awesome if you could add that, unless there is a way to
access it already. Is there some header, for example, from which I can
access it already?


On 10/14/07, Igor Sysoev <is at> wrote:
> 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