What is it?
When you are deploying a tar file with large size, you will see this error message. This is caused due to the nginx.conf which sets default max file size limit to 200MB.
How to fix it?
- In your captain dashboard, go to settings.
- Edit the file
/etc/nginx/conf.d/captain-root.conf
and updateclient_max_body_size 300m
as per your requirement. - Click 'Save and Update' for captain to reload nginx.