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

feat: 初步实现compose template

This commit is contained in:
2026-01-13 23:31:37 +08:00
parent 908509e06b
commit c07a60d1c8
28 changed files with 866 additions and 47 deletions

View File

@@ -229,7 +229,7 @@ func generateProxyConfig(proxy types.Proxy) string {
if proxy.Host != "" {
sb.WriteString(fmt.Sprintf(" proxy_set_header Host \"%s\";\n", proxy.Host))
} else {
sb.WriteString(" proxy_set_header Host $host;\n")
sb.WriteString(" proxy_set_header Host $proxy_host;\n")
}
// 标准代理头