防火墙设置-配置

所有配置

请求地址:
  • {api_dir}/firewall

请求方式:

  • GET

响应数据:

返回成功数据参考:
{“status”:{“code”:1,”created_at”:”2017-06-20 15:59:56”,”message”:”u64cdu4f5cu6210u529f”},”rows”:[{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”advanced”,”id”:”1”,”value”:{“jump_type”:0,”rules”:[{“id”:1,”or”:1,”revers”:1,”name”:”redirect”,”nickname”:”URLu91cdu5199”,”value”:{“code”:302,”host”:”dxfgasd”,”target”:”wwww”}}]}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”advanced”,”id”:”2”,”value”:{“jump_type”:0,”rules”:[{“id”:1,”or”:1,”revers”:1,”name”:”redirect”,”nickname”:”URLu91cdu5199”,”value”:{“code”:”302”,”host”:”asdf”,”target”:”swww”}}]}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”anticc”,”id”:”1”,”value”:{“frcquency”:”custom”,”model”:3,”custom”:”test”,”request”:”12”,”second”:”3”,”name_en”:3}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”blackip”,”id”:”1”,”value”:”1.1.1.1”},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”cc-black-url”,”id”:”1”,”value”:{“meth”:”GET”,”url”:”asfwww”}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”cc-black-url”,”id”:”2”,”value”:{“meth”:”PUT”,”url”:”asffggg”}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”cc-black-url”,”id”:”3”,”value”:{“meth”:”PUT”,”url”:”fdgwwww”}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”cc-white-ips”,”id”:”1”,”value”:”1.1.1.1|2.2.2.2”},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”cc-white-url”,”id”:”2”,”value”:”sad”},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”cc-white-url”,”id”:”3”,”value”:”dfasdf”},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”http_only”,”id”:”1”,”value”:{“cookie”:”0”}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”ipfrequency”,”id”:”1”,”value”:{“type”:0,”time”:2,”second”:1,”exist_second”:3}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”uploadfile”,”id”:”1”,”value”:{“file”:”php,jsp”}}],”pre”:[]}
返回失败数据参考:
{“status”:{“code”:5,”created_at”:”2017-06-19 14:41:46”,”message”:”router mathod not match”}}

內容目录

上一个主题

站点设置-端口

下一个主题

防火墙设置-ip白名单

本页