I have found out that I cannot upload because the API should be listening on port 3000 but the port 3000 is used by another node.js application. Is there any way to change the api listen port to something else?
this was in the log of the nginx error log
2014/08/27 13:13:20 [error] 31534#0: *1972 connect() failed (111: Connection refused) while connecting to upstream, client: 79.119.156.210, server: vpsie.247rack.net, request: "POST /api/post/upload HTTP/1.1", upstream: "http://127.0.0.1:3000/api/post/upload", host: "vpsie.247rack.net", referrer: "http://vpsie.247rack.net/forum/topic/1/testing/2"