Revert "[优化] 添加基本鉴权支持,更新相关逻辑以生成 htpasswd 文件"

This reverts commit c9a532db65.
This commit is contained in:
ryan
2026-05-26 10:57:21 +08:00
parent c9a532db65
commit 46fb1a2b79
7 changed files with 29 additions and 112 deletions
+1 -1
View File
@@ -963,7 +963,7 @@ func certFileMode(relativePath string) fs.FileMode {
switch strings.ToLower(filepath.Ext(strings.TrimSpace(relativePath))) {
case ".crt", ".pem":
return 0o644
case ".key", ".htpasswd":
case ".key":
return 0o600
default:
return 0o644