Welcome! Log In Create A New Profile

Advanced

Re: Nginx proxy_pass file upload 500 "Internal Server Error"

September 13, 2012 10:06AM
On Thursday 13 September 2012 17:09:24 a.mion@megasp.it wrote:
> I've a problem using nginx as reverse proxy.
> I sent a POST request to nginx for file upload.
> My backend is an apache2 web server.
> My backend receive correctly request and save correctly uploaded file.

And then it returns a 500 error. You can see this yourself in the debug log
that you have posted here:

> 2012/09/13 14:46:53 [debug] 9004#0: *7 http proxy status 500 "500 Internal
> Server Error"
> 2012/09/13 14:46:53 [debug] 9004#0: *7 http proxy header: "Date: Thu, 13
> Sep 2012 12:49:09 GMT"
> 2012/09/13 14:46:53 [debug] 9004#0: *7 http proxy header: "Server:
> Apache/2.2.16 (Debian)"

> My frontend, nginx, give back a 500, Internal server error response.
[...]

Nginx just gives back exactly what your backend returns. Did you look at
apache logs?

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx proxy_pass file upload 500 "Internal Server Error"

a.mion@megasp.it September 13, 2012 09:08AM

Re: Nginx proxy_pass file upload 500 "Internal Server Error"

VBart September 13, 2012 10:06AM

Re: Nginx proxy_pass file upload 500 "Internal Server Error"

a.mion@megasp.it September 21, 2012 07:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 299
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