10.用户认证模块(ngx_http_auth_basic_module)
4、用户认证模块(ngx_http_auth_basic_module)此模块使用HTTP Basic Authentication协议限制对资源的访问,通过用户名和密码方式。 auth_basicSyntax: auth_basic string | off;Default: auth_basic off;Context: http, server, location, limit_except激活和关闭认证功能。 auth_basic_user_fileSyntax: auth_basic_user_file file;Default: —Context: http, server, location, limit_excep……