> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/others/jenkins-nginx-error-with-sealights-plugin.md).

# Jenkins Nginx Error with Sealights Plugin

## Problem <a href="#problem" id="problem"></a>

If Jenkins is running behind nginx, you might encounter the error '<mark style="color:red;">Nginx 413 Request Entity Too Large</mark>'.

## Solution <a href="#solution" id="solution"></a>

To be able to install the Sealights plugin you need to update the nginx.conf or the specific website config under nginx/conf.d with the following line

{% code overflow="wrap" lineNumbers="true" %}

```
client_max_body_size 3M;
```

{% endcode %}

\
Once configuration updated restart the nginx service by running the command below (works on most of the systems) \*might require sudo privilege elevation:

{% code overflow="wrap" lineNumbers="true" %}

```
sudo service nginx restart
			or 
sudo systemctl restart nginx
			or
sudo /etc/init.d/nginx restart
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/others/jenkins-nginx-error-with-sealights-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
