NGINX Configuration

can someone to provide the nginx configuration files, because I have timeout on the web application for loadbalacing.
I am getting the following errors :

2013/12/24 18:16:43 [error] 22960#0: *74 upstream timed out (110: Connection timed out) while reading upstream, client: 188.73.252.174, server: xxxx.com, request: “GET /framework/pagestop.png HTTP/1.1”, upstream: “http://127.0.0.1:7002/framework/pagestop.png”, host: “xxxx.com”, referrer: “http://xxxx.com/
2013/12/24 18:18:51 [error] 22960#0: *90 upstream timed out (110: Connection timed out) while reading upstream, client: 188.73.252.174, server: xxxx.com, request: “GET /framework/pagestop.png HTTP/1.1”, upstream: “http://127.0.0.1:7002/framework/pagestop.png”, host: “xxxx.com”, referrer: “http://xxxx.com/

Thanks

Check out these posts - there is some information that you might find helpful

https://forum.xojo.com/4202-reverse-proxy-nginx-and-static-files

https://forum.xojo.com/4149-load-balancing-with-nginx

That said, here is a basic nginx conf that has been working great for me. The explanation is in the links above.

#loadbalance instances of Xojo app
upstream myproject {
        ip_hash;
        server 127.0.0.1:8080;
        server 127.0.0.1:8081;
        server 127.0.0.1:8082;
  }

#Proxies requests to the instances above
  server {
    listen 80;
    location / {
        proxy_buffering off;
        proxy_read_timeout 5m;
        proxy_pass http://myproject;
    }

#Directly serve requests for mydomain.com/images/*  out of "/some/path/*" 
    location /images/ {
        alias /some/path/;
    }
  }