2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 04:22:33 +08:00

fix: 部分后端不支持h2代理

This commit is contained in:
2026-01-27 20:06:00 +08:00
parent 68793e22dd
commit 84f5ea815b

View File

@@ -244,7 +244,7 @@ func generateProxyConfig(proxy types.Proxy) string {
}
sb.WriteString(fmt.Sprintf(" proxy_pass %s;\n", proxy.Pass))
sb.WriteString(" proxy_http_version 2;\n")
sb.WriteString(" proxy_http_version 1.1;\n")
// Host 头
if proxy.Host != "" {