upstream timed out

2013-07-11 Thread Reddirt
pplication-b7b1695e978934a03ade49d20bf63139.js HTTP/1.1", upstream: Is this telling me there is a problem with Thin or Ruby on Rails? I'm not seeing error in logs for those systems. Thanks, Reddirt Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240762,240762#msg-240762 _

Re: The service is not available. Please try again later.

2013-03-16 Thread Reddirt
OK - I now have Nginx running the 5 Thin app servers! Thanks for the help! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237379,237441#msg-237441 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: The service is not available. Please try again later.

2013-03-14 Thread Reddirt
I got past that error and now the nginx error log has this: 2013/03/14 14:22:10 [error] 1537#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.20.3, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:3000/";, host: "ndeavor.ameipro.com" 2

Re: The service is not available. Please try again later.

2013-03-14 Thread Reddirt
This is my nginx.conf file. Does it look OK? https://dl.dropbox.com/u/35302780/nginx.conf Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237379,237381#msg-237381 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listin

The service is not available. Please try again later.

2013-03-14 Thread Reddirt
I'm trying to get a Bitnami Rails running with Nginx and Thin. I've got Thin servers running on: bitnami@linux:/opt/bitnami$ thin -C projects/ndeavor/current/config/thin.yml start Starting server on 127.0.0.1:3000 ... Starting server on 127.0.0.1:3001 ... Starting server on 127.0.0.1:3002 ...

Re: nginx: [emerg] invalid host in upstream

2013-03-14 Thread Reddirt
OK - we can close this thread. But, I'm going to start a new one because I still can't get to my Rails app. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237358,237377#msg-237377 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.o

Re: nginx: [emerg] invalid host in upstream

2013-03-14 Thread Reddirt
My Rails app has this in production.rb:config.serve_static_assets = false When I run Thin by itself, I have to make that true. I thought with Nginx it would stay false. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237358,237374#msg-237374 ___

Re: nginx: [emerg] invalid host in upstream

2013-03-14 Thread Reddirt
I restarted. Now I'm getting the website without the CSS. I thought Nginx would provide the static webpages including CSS. How can I tell if Nginx is running properly? Sorry - This is my first time trying this. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237358,237373#msg-237373

Re: nginx: [emerg] invalid host in upstream

2013-03-14 Thread Reddirt
It looks like Bitnami expects the Rails app to be in url/appname. So, I just removed the /ndeavor from the thin.yml and from nginx.conf. This is what my thin.yml looks like now: https://dl.dropbox.com/u/35302780/thin.yml And this is my nginx.conf: https://dl.dropbox.com/u/35302780/nginx.conf I

nginx: [emerg] invalid host in upstream

2013-03-14 Thread Reddirt
I'm trying to run a Rails app using Nginx with 5 Thin servers. I created the thin.yml file and when I run the start command, I get: bitnami@linux:/opt/bitnami/projects/ndeavor/current/config$ thin -C thin.yml start Starting server on 127.0.0.1:3000 ... Starting server on 127.0.0.1:3001 ... Sta