Welcome! Log In Create A New Profile

Advanced

Curl upload via nginx reverse proxy gives error

Posted by keerthi-teff 
Curl upload via nginx reverse proxy gives error
May 07, 2024 10:57PM
When uploading the file using curl command via nginx reverse porxy, nginx returns 404 error.

This happens only for some specific package. When by passing nginx this file is getting uploaded.

We are trying to upload the file to Nexus artifactory. What could be the issue?

Error:

< HTTP/1.1 100 Continue
< HTTP/1.1 404 Not Found
< Server: nginx/1.24.0
< Date: Wed, 08 May 2024 02:41:49 GMT
< Content-Type: text/html
< Content-Length: 153
< Connection: keep-alive
* HTTP error before end of send, stop sending
<
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.24.0</center>
</body>
</html>



we have tried turning off


proxy_buffering off;
proxy_request_buffering off;

Regards,
Keerthi
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 77
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready