Fix repo settings and protocol log problems (#35012) (#35013)

Backport #35012
This commit is contained in:
wxiaoguang authored and GitHub committed 2025-07-09 17:20:15 +00:00
1 parent 053f9186bc
commit 81ee93e5bc
2 files changed
+11 -7

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ func loadServerFrom(rootCfg ConfigProvider) {
HTTPAddr = filepath.Join(AppWorkPath, HTTPAddr)
}
default:
log.Fatal("Invalid PROTOCOL %q", Protocol)
log.Fatal("Invalid PROTOCOL %q", protocolCfg)
}
UseProxyProtocol = sec.Key("USE_PROXY_PROTOCOL").MustBool(false)
ProxyProtocolTLSBridging = sec.Key("PROXY_PROTOCOL_TLS_BRIDGING").MustBool(false)