为什么通常应通过 HTTPS 使用 HTTP Basic Authentication?
HTTPS 会创建服务器的密码文件
启用 HTTPS 后,Nginx 才会处理 location 块
location
HTTPS 可保护通过网络传输的简单编码凭据
HTTPS 不再需要用户名和密码