Nginx 存取設定 – http_auth_basic_module

編輯檔案 /usr/local/nginx/conf/nginx.conf

for http 模組

安裝 apache2-utils

產生 htpasswd 檔案

reload nginx conf就可以了~

This entry was posted in Nginx. Bookmark the permalink.