Nginx创建基本认证(Basic Authorization)

- 步骤一 : 创建用户名密码
1 | # 安装htpasswd |
- 步骤二 : Nginx配置
1 | server { |
- Title: Nginx创建基本认证(Basic Authorization)
- Author: Micheal Chen
- Created at : 2025-03-29 17:58:55
- Updated at : 2025-03-29 18:10:12
- Link: https://www.xhis.com/hexo/2025/03/29/notes/Nginx创建基本认证/
- License: This work is licensed under CC BY-NC-SA 4.0.