站点设置-配置

获取配置

路由:
  • {api_dir}/setting

请求方式:

  • GET

响应数据:

返回成功数据参考:
{“status”:{“code”:1,”created_at”:”2017-06-20 10:47:46”,”message”:”u64cdu4f5cu6210u529f”},”rows”:[{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”default-cache”,”id”:”1”,”value”:{“model”:0,”second”:”100”}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”gzip”,”id”:”1”,”value”:{“html”:true,”css”:true,”js”:true}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”port”,”id”:”1”,”value”:{“port”:”9090”}},{“uid”:”8800”,”ngid”:”460”,”vhost”:”site1”,”name”:”redirect”,”id”:”1”,”value”:{“code”:302,”host”:”asdf”,”target”:”www”}}],”dnsprovider”:[“dnsdun”],”dns”:{“api_key”:”L58hJj8Ej5hvhre2”,”uid”:”33719”,”provider”:”dnsdun”}}
返回失败数据参考:
{“status”:{“code”:5,”created_at”:”2017-06-19 14:41:46”,”message”:”router mathod not match”}}

內容目录

上一个主题

端口映射

下一个主题

站点设置-https

本页