Code Monkey home page Code Monkey logo

openresty-config-center's Introduction

接口说明

/upload上传文件

方法:POST

uri:/upload

请求参数:

字段:fileName(String) fileType(String)

//nginx-http:没有证书以http方式访问的配置文件,fileName规定http_proxy.conf,Type规定nginx-http

//nginx-https:有证书以https方式访问的配置文件,fileName规定https_proxy.conf,Type规定nginx-https

//cert-key:用于https访问是的证书key,fileName规定为cert.key,Type规定为cert-key

//cert-crt:用于https访问是的证书crt,fileName规定为cert.crt,Type规定为cert-crty

//rewrite-rule:该规则是规定当使用https方式访问时,需要跳转的https域名,fileName规定为rewrite-rule,Type规定为rewrite-rule

//config-lua:主要配置一些防御规则开关,主要修改防御CC规则,fileName规定为config.lua,Type规定为config-lua

//filebeat-yaml:日志filebeat配置文件,fileName规定为filebeat.yaml,Type规定为filebeat-yaml

返回参数:

status 状态 错误状态500

type 标记为false

msg 错误内容信息

openresty-config-center's People

Contributors

mryuanzhen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.