To increase the max upload size for files on Laravel Homestead edit your main nginx.conf
file.
sudo nano /etc/nginx/nginx.conf
Next, add the config client_max_body_size
and set it to 100M
. All php.ini
files in Homestead already have the setting upload_max_filesize = 100M
.
http {
...
client_max_body_size 100M;
}
Leave a Reply