我使用nginX/1.6和Laravel,当我向服务器发送数据时,会出现错误413请求实体过大。我尝试了许多解决方案如下:
1- set client_max_body_size 100m; in server and location and http in nginx.conf.
2- set upload_max_filesize = 100m in php.ini
3- set post_max_size = 100m in php.ini
重启了 php5-fpm 和 nginx,问题仍未解决。