Nginx client body max size limit - Sonatype Nexus Repository / Best Practices - Sonatype Community

Nginx client body max size limit

post by ramakrishna.veerishetti on Apr 27, 2022

Hi,

Recently we faced an issue while uploading a large file to nexus with nginx throwing error,

413 Request Entity Too Large

413 Request Entity Too Large

nginx/1.19.10

File size we are trying to upload is of 2.7G , is it recommended to increase the nginx file limit ? I see this leads to security and performance related issues while checking online. Any suggestions on this ?

Thanks,

Ramakrishna

1.8k views

post by mpiggott on Apr 27, 2022

This is entirely decided by your environment the files you’re trying to upload.