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

Piotr Polok toplek at
Mon Sep 5 08:54:12 UTC 2011

> Your problem is that in your conf file /test location is going to 
> some no
> existent back end
> Either deal with it inside nginx or have some back end listening to 
> 8080.
> That is the directive causing the problem

xserver:/usr/local/nginx/conf# tshark -i lo port 8080
Running as user "root" and group "root". This could be dangerous.
Capturing on lo
   0.000000 ->    TCP 50768 > http-alt [SYN] 
Seq=0 Win=32792 Len=0 MSS=16396 TSV=340033941 TSER=0 WS=7
   0.000039 ->    TCP http-alt > 50768 [RST, ACK] 
Seq=1 Ack=1 Win=0 Len=0

There is no any service on this port.

I'm not getting the idea what should happend on 'location @test'. Maybe 
in this place the file should be saved in the specyfic location? If yes, 
how this should be configured?

best regards
Piotr Polok

More information about the nginx mailing list