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?

  1. In your captain dashboard, go to settings.
  2. Edit the file /etc/nginx/conf.d/captain-root.conf and update client_max_body_size 300m as per your requirement.
  3. Click 'Save and Update' for captain to reload nginx.