upload size limit - rtCamp/Frappe-Manager GitHub Wiki
Adjust the
client_max_body_sizedirective value as needed.
To apply the upload size limit to all sites, create a file named increase_upload_size_limit.conf (the name can be anything) in the ~/frappe/services/nginx-proxy/confd directory with the following content:
client_max_body_size 100m;For a specific site, such as example.com, create a file named example.com_location in the ~/frappe/services/nginx-proxy/vhostd directory with the following content:
client_max_body_size 100m;After making the above changes, restart global-nginx-proxy using the following command
fm services restart global-nginx-proxyEdit the file located at ~/frappe/sites/<bench name>/configs/nginx/conf.d/default.conf and modify the client_max_body_size directive:
client_max_body_size 100m;After making the above changes, restart bench's nginx-proxy using the following command
fm start <bench name> -fThis can be done via the dashboard or by editing site_config.json.
- Open Frappe Desk.
- Navigate to Search > System Settings.
- In the Files tab, change the
Max File Size (MB)field.
- Open
site_config.jsonin your preferred editor. - Add the key
"max_file_size": "104857600"(100 MB), with the value in bytes.