1.问题:

  Nginx出现的413 Request Entity Too Large错误,这个错误一般在上传文件的时候出现。

   解决方法:

  打开nginx主配置文件nginx.conf,一般在/usr/local/nginx/conf/nginx.conf这个位置,找到http{}段,修改或者添加client_max_body_size 2M;然后重启nginx即可

相关文章:

  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
猜你喜欢
  • 2021-08-03
相关资源
相似解决方案