跳到主要内容

参数

请参阅 插件通用配置 了解所有插件可用的配置选项。

  • cors_allow_headers

    string

    默认值:content-type,x-grpc-web,x-user-agent


    允许跨域请求的请求头列表,以逗号分隔。

  • max_req_body_size

    integer

    默认值:67108864


    缓冲到内存中的请求体最大字节数。超过该上限的请求体会被拒绝。自 API7 企业版 3.9.x 系列的 3.9.17 版本起可用,3.10.x 系列自 3.10.4 版本起可用。