Module ngx_http_auth_basic_module

The ngx_http_auth_basic_module module allows limiting access to resources by validating the user name and password using the “HTTP Basic Authentication” protocol.

Access can also be limited by address, by the result of subrequest, or by JWT. Simultaneous limitation of access by address and by password is controlled by the satisfy directive.

auth_basic

Syntax: auth_basic string | off; Default: auth_basic

2017-02-09 07:05:32
auth_basic_user_file

Syntax: auth_basic_user_file file; Default: — Context:

2017-02-09 07:05:32