# fix error: 413 Request Entity Too Large on deploy with caprover
Author: Sai Krishna
Author URL: https://saikrishna.me/blog/author/sai-krishna
Published: 2019-11-09
Tags: bug, fix, caprover
Tag URLs: bug (https://saikrishna.me/blog/tag/bug), fix (https://saikrishna.me/blog/tag/fix), caprover (https://saikrishna.me/blog/tag/caprover)
URL: https://saikrishna.me/blog/fix-error-413-request-entity-too-large-on-deploy-with-caprover-ckl1qf2al055517nsglpcj4ah

![](https://prod.superblogcdn.com/site_cuid_ckox4j3st002zl8lhgptt9yg2/images/photo-1614597388646-fea96377eb91-1614666041949-compressed.jpeg)

## 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.


---
This blog is powered by Superblog. Visit https://superblog.ai to know more.
---

