NGINX 报错 413 Request Entity Too Large 您所在的位置:网站首页 nginx413 NGINX 报错 413 Request Entity Too Large

NGINX 报错 413 Request Entity Too Large

#NGINX 报错 413 Request Entity Too Large| 来源: 网络整理| 查看: 265

a) 在http节点下(http全局)

http { # 将nginx代理的所有请求实体的大小限制为1024m client_max_body_size 1024m; }

b) 在server节点下(server全局)

server { # 将该服务下的所有请求实体的大小限制为1024m client_max_body_size 1024m; }

c) 在location节点下(单应用)

location /test { # 将此路由请求的实体大小限制为1024m client_max_body_size 1024m; }



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

      专题文章
        CopyRight 2018-2019 实验室设备网 版权所有