Error, "413 Request Entity Too Large" When Uploading

When I tried to upload using curl command, I failed with the following error message.

curl 7.79.1 (Windows) libcurl/7.79.1 Schannel
Release-Date: 2021-09-22
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp
Features: AsynchDNS HSTS IPv6 Kerberos Largefile NTLM SPNEGO SSL SSPI UnixSockets

413 Request Entity Too Large

Request Entity Too Large

The requested resource does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

Additionally, a 301 Moved Permanently error was encountered while trying to use an ErrorDocument to handle the request.

We are using apache reverse proxy, and what should I do to resolve this issue?


You’ll need to update your Apache configuration as Nexus does not limit upload sizes.