2.使用ngx_http_auth_basic_module模块为不带认证的资源添加授权

NoSuchKey