I found a really strange behaviour on my moodle site.
I am able to upload large files on the site. If I attach them on a post, I can download them normally. If I upload them as a resource of a course, I can only download them if they are less than 20MB or so. If I try to download a large file uploaded as a resource of a course, I get the following error on my browser: ERR_INVALID_RESPONSE
The files from a post have this kind of URL: http://mymoodlesite.org/pluginfile.php/920/mod_forum/attachment/1846/largeFileName.pdf
The files from a course have this kind of URL: http://mymoodlesite.org/pluginfile.php/222/mod_source/file/41/0/largeFileName.pdf