mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 04:22:33 +08:00
fix: 部分后端不支持h2代理
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user