Welcome! Log In Create A New Profile

Advanced

Re: Nginx upload module (v 2.2.0) :: 502 Bad Gateway

Mark Alan
September 05, 2011 05:12AM
On Mon, 05 Sep 2011 08:59:58 +0200, Piotr Polok <toplek@polok.pl> wrote:
> I'm getting some errors while uploading the file;
> The html form: '502 Bad Gateway';
> The nginx error.log (/usr/local/nginx/logs/error.log):
> ------
> 2011/09/05 08:35:15 [error] 21161#0: *6 connect() failed (111:
> Connection refused) while connecting to upstream, client:
> 192.168.0.165, server: , request: "POST /upload HTTP/1.1", upstream:
> "http://127.0.0.1:8080/upload", host: "192.168.0.127", referrer:
> "http://192.168.0.127/http/upload.html"
> ------

Your setup includes:
client_max_body_size 100m;

Do you also your php.ini configured to accommodate 100m files?
Check:
memory_limit (should be something able to cope with 100M files)
post_max_size (should be >= 110M)
file_uploads (should be On)
upload_max_filesize (should be >= 100M)

Regards,
M.

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

Nginx upload module (v 2.2.0) :: 502 Bad Gateway

Piotr Polok September 05, 2011 03:02AM

Re: Nginx upload module (v 2.2.0) :: 502 Bad Gateway

Guillermo Garron September 05, 2011 04:06AM

Re: Nginx upload module (v 2.2.0) :: 502 Bad Gateway

Piotr Polok September 05, 2011 04:18AM

Re: Nginx upload module (v 2.2.0) :: 502 Bad Gateway

Guillermo Garron September 05, 2011 04:40AM

Re: Nginx upload module (v 2.2.0) :: 502 Bad Gateway

Piotr Polok September 05, 2011 04:56AM

Re: Nginx upload module (v 2.2.0) :: 502 Bad Gateway

Mark Alan September 05, 2011 05:12AM

Re: Nginx upload module (v 2.2.0) :: 502 Bad Gateway

Piotr Polok September 05, 2011 05:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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