version 1.2, 2014/03/17 13:42:02 |
version 1.3, 2014/03/17 21:45:07 |
|
|
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
is used to create and update user authentication files for |
is used to create and update user authentication files for |
.Xr nginx 8 |
HTTP daemons such as |
and other HTTP daemons. |
.Xr nginx 8 . |
|
.Pp |
.Nm |
.Nm |
prompts for a password and generates a hash using |
prompts for a password and generates a hash using |
.Xr bcrypt 3 . |
.Xr bcrypt 3 . |
A line suitable for |
A line suitable for a password file, |
.Xr nginx 8 |
such as |
.Ic auth_basic_user_file |
.Ic auth_basic_user_file |
is written on standard output if |
in |
.Nm |
.Xr nginx 8 , |
is invoked with one argument. |
is written to standard output. |
If invoked with two arguments the |
If invoked with two arguments |
|
user authentication |
.Ar file |
.Ar file |
user authentication file is updated. |
is updated. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr bcrypt 3 , |
.Xr bcrypt 3 , |
.Xr nginx.conf 5 , |
.Xr nginx.conf 5 , |