Can't upload a large DEB package to Nexus

Hi guys,

Nexus version: 3.41.0-01

Can’t upload a large deb package to the Nexus APT repository using curl

curl -u "admin:admin" -H "Content-Type: multipart/form-data" --data-binary "@./my.deb" https://.../repository/deb-repo/

curl: option --data-binary: out of memory

Second method:

curl -u "admin:admin" --upload-file "my.deb" -X PUT https://.../repository/deb-repo/

Expect: 100-continue

TLSv1.2 (IN), TLS header, Supplemental data (23):
Mark bundle as not supporting multiuse
HTTP/1.1 405 PUT
Strict-Transport-Security: max-age=7776000
Server: Nexus/3.41.0-01 (OSS)
X-Content-Type-Options: nosniff
Content-Security-Policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation
X-XSS-Protection: 1; mode=block
Connection: close

curl -u "admin:admin" --upload-file "my.deb" -X POST https://.../repository/deb-repo/

Method Not Allowed

Thanks in advance