反向代理增加是否重试50X选项,默认为启用

This commit is contained in:
刘祥超
2023-08-20 15:49:09 +08:00
parent ddbdb64fc4
commit a24fce2c22
17 changed files with 48 additions and 35 deletions

View File

@@ -68,7 +68,7 @@ func (this *IndexAction) RunGet(params struct {
}
this.Data["reverseProxyRef"] = reverseProxyRef
var reverseProxy = &serverconfigs.ReverseProxyConfig{}
var reverseProxy = serverconfigs.NewReverseProxyConfig()
err = json.Unmarshal(reverseProxyResp.ReverseProxyJSON, reverseProxy)
if err != nil {
this.ErrorPage(err)