JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

nginx 上传限制 client_max_body_size

发布时间 2023-06-03 16:16:31作者: xh_Blog

nginx报错:413 Request Entity Too Large

如下:

进入 nginx/conf 编辑 nginx.conf 配置文件:其中调整 client_max_body_size 大小
http {
    include       mime.types;
    default_type  application/octet-stream;
    client_max_body_size 50m

end;

    本栏目推荐文章
  • nginx 一个域名区分pc和手机!
  • 【五期李伟平】CCF-A(AAAI'21)Game of Gradients: Mitigating Irrelevant Clients in Federated Learning
  • nginx启用HTTP2特性
  • nginx代理header丢失的问题
  • Nginx——配置代理-服务的代理
  • "nginx.conf" E514 : write error (file system full?)
  • YAML示例:nginx使用configmap配置并开启镜像
  • Cisco Secure Client 5.1.1.42 (macOS, Linux, Windows & iOS, Andrord) - 思科安全客户端下载
  • [翻译]-Query and Transaction size in MySQL
  • nginx反向代理时报no resolver defined to resolve
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们