How do I configure the max size in order to avoid timeouts when uploading artifacts?

How do I configure the max size in order to avoid timeouts when uploading artifacts?

AuthorFullName__c
JFrog Support
articleNumber
000001216
ft:sourceType
Salesforce
FirstPublishedDate
2016-10-06T13:35:27Z
lastModifiedDate
2024-03-10T07:48:50Z
VersionNumber
5

 

The “Failed to deploy file: HTTP response code 413” or "HTTP response code: 413 HTTP response message: Request Entity Too Large" messages can result if your maximum file size in incorrectly setup.

 

If Artifactory is running behind a HTTP server like Nginx or Apache, please try to increase the size configuration in your server to avoid these issues.

 

Also, you may increase the “maxPostSize” in the server.xml file that is located under $TOMCAT_HOME/conf/server.xml and add the parameter maxPostSize="value of the max size”. Also you may adjust “maxHttpHeaderSize” (the maximum size of the request and response HTTP header, specified in bytes) to correct the issues.