ToolNext

htpasswd 產生器

產生 Nginx/Apache htpasswd 密碼檔案

tools.htpasswd.generateTitle

tools.htpasswd.nginxExample

# nginx.conf 中使用示例
location /protected {
    auth_basic "Restricted Area";
    auth_basic_user_file /etc/nginx/.htpasswd;
}
⚠️ tools.htpasswd.warningNotehtpasswd -c /etc/nginx/.htpasswd username

工具说明

線上 htpasswd 密碼產生工具,支援 bcrypt、MD5、SHA1 等加密方式,產生可直接用於 Nginx/Apache Basic Auth 的密碼雜湊值。

htpasswdnginxapachebasic auth密码认证