Jenkins - Nginx error when using Sealights Plugin
Problem
If Jenkins is running behind nginx, you might encounter the error 'Nginx 413 Request Entity Too Large'.
Solution
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
client_max_body_size 3M; |
Once configuration updated restart the nginx service by running the command below (works on most of the systems) *might require sudo privilege elevation:
sudo service nginx restart
or
sudo systemctl restart nginx
or
sudo /etc/init.d/nginx restart |