Increase the limit of file upload size in Heroku while uploading to Dropbox

后端 未结 4 1876
情书的邮戳
情书的邮戳 2021-01-20 16:09

I have encountered an issue while uploading files to dropbox through my application that is hosted on Heroku. I wanted to upload approx 100MB files and they aren\'t being ho

4条回答
  •  庸人自扰
    2021-01-20 16:34

    In case of nginx and PHP FPM the following works:

    Add these to nginx config (typically into php-fpm.inc.conf):

    php_value[post_max_size]=100M
    php_value[upload_max_filesize]=100M
    

提交回复
热议问题