Nginx 配置 Basic 認證

/* * 環境:LNMP(CentOS 6.6 + Nginx 1.8.0) */ 在 Nginx 下配置 Basic 認證需要依靠 Nginx 的 http_auth_basic_module 模塊(官方文檔:http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html)   配置過程: ① 生成認證文件,形式爲 用戶名:密碼 密
相關文章
相關標籤/搜索