413 Request Entity Too Large

前端 未结 3 1327
半阙折子戏
半阙折子戏 2020-12-14 17:10

I use nginX/1.6 and laravel when i posted data to server i get this error 413 Request Entity Too Large. i tried many solutions as bellow

1- set client_max_bo         


        
3条回答
  •  执笔经年
    2020-12-14 18:04

    Add ‘client_max_body_size xxM’ inside the http section in /etc/nginx/nginx.conf, where xx is the size (in megabytes) that you want to allow.

    http {
          client_max_body_size 20M;         
    }
    

提交回复
热议问题