How to upload large file size (more than 200MB)

Dear All,
I tried to upload large file size on ERP but it always say that “Size exceeds the maximum allowed file size.” Although, I already setup max_file_size in site_config.json to larger value.
image
Thanks
Dharma

Follow the below steps to achieve that:
Before doing that make sure you are in the bench directory.

$ bench set-config max_file_size 524288000
$ sudo nano config/nginx.conf

Inside nginx.conf file find “client_max_body_size 50m;” and replace with “client_max_body_size 500m;”

Then restart your nginx server,

$ sudo service nginx restart
5 Likes