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

Re: nginx: [emerg] invalid host in upstream

2013-03-14 Thread Wolfsrudel
I don't think that you can use a path behind the server. The Upstream server is a server name itself (with port), not with something like "/something" at the end. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237358,237364#msg-237364 ___ ngi

Re: nginx: [emerg] invalid host in upstream

2013-03-14 Thread WBrown
From: "Reddirt" > bitnami@linux:/opt/bitnami$ sudo ./ctlscript.sh start nginx > nginx: [emerg] invalid host in upstream "127.0.0.1:3000/ndeavor" in > /opt/bitnami/nginx/conf/vhosts/ndeavor.conf:2 What is your upstream section of the configuration file? D

nginx: [emerg] invalid host in upstream

2013-03-14 Thread Reddirt
this: bitnami@linux:/opt/bitnami$ sudo ./ctlscript.sh start nginx nginx: [emerg] invalid host in upstream "127.0.0.1:3000/ndeavor" in /opt/bitnami/nginx/conf/vhosts/ndeavor.conf:2 Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237358,23