tools.htpasswd.generateTitle
tools.htpasswd.nginxExample
# nginx.conf 中使用示例
location /protected {
auth_basic "Restricted Area";
auth_basic_user_file /etc/nginx/.htpasswd;
}⚠️ tools.htpasswd.warningNote
htpasswd -c /etc/nginx/.htpasswd username工具说明
線上 htpasswd 密碼產生工具,支援 bcrypt、MD5、SHA1 等加密方式,產生可直接用於 Nginx/Apache Basic Auth 的密碼雜湊值。
htpasswdnginxapachebasic auth密码认证