mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 06:40:59 +08:00
fix: 反向代理缓存zone错误
This commit is contained in:
@@ -282,7 +282,7 @@ func generateProxyConfig(proxy types.Proxy) string {
|
||||
|
||||
// Cache 配置
|
||||
if proxy.Cache {
|
||||
sb.WriteString(" proxy_cache proxy_cache;\n")
|
||||
sb.WriteString(" proxy_cache cache_one;\n")
|
||||
sb.WriteString(" proxy_cache_valid 200 302 10m;\n")
|
||||
sb.WriteString(" proxy_cache_valid 404 1m;\n")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user