# 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 %}
