问题
I'm using laravel and filepond to upload some files. It works fine with files smaller than 100MB, but if I try to upload bigger (400MB) files I get 413 error. I have already increased post_max_size and upload_max_filesize in php.ini and changed client_max_body_size in nginx, but it still does not work. I'm missing something?
Best regards
回答1:
Its php and nginx related.
Check which php.ini is used php --ini
Sometimes there are multiple ones that change the original value
Search in all php.ini files cat /path/php.ini | grep upload_max_filesize
Last thing is, make sure you restart nginx and php after the changes
来源:https://stackoverflow.com/questions/62152043/im-getting-request-too-large-error-413-when-submiting-file-in-laravel