mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-27 12:56:35 +08:00
集群可以设置默认的WAF策略、缓存策略
This commit is contained in:
@@ -98,8 +98,8 @@ func (this *ProvincesAction) RunPost(params struct {
|
||||
}
|
||||
|
||||
_, err = this.RPC().HTTPFirewallPolicyRPC().UpdateHTTPFirewallInboundConfig(this.AdminContext(), &pb.UpdateHTTPFirewallInboundConfigRequest{
|
||||
FirewallPolicyId: params.FirewallPolicyId,
|
||||
InboundJSON: inboundJSON,
|
||||
HttpFirewallPolicyId: params.FirewallPolicyId,
|
||||
InboundJSON: inboundJSON,
|
||||
})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
Reference in New Issue
Block a user