Welcome! Log In Create A New Profile

Advanced

nginx: [emerg] invalid host in upstream

March 14, 2013 11:19AM
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 ...

Starting server on 127.0.0.1:3002 ...

Starting server on 127.0.0.1:3003 ...

Starting server on 127.0.0.1:3004 ...

I created a ndeavor.conf file in nginx/conf/vhosts that looks like this: https://dl.dropbox.com/u/35302780/ndeavor.conf

And if I run the command to start Nginx, I get 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
SubjectAuthorPosted

nginx: [emerg] invalid host in upstream

ReddirtMarch 14, 2013 11:19AM

Re: nginx: [emerg] invalid host in upstream

w.bMarch 14, 2013 11:26AM

Re: nginx: [emerg] invalid host in upstream

WolfsrudelMarch 14, 2013 12:06PM

Re: nginx: [emerg] invalid host in upstream

ReddirtMarch 14, 2013 02:19PM

Re: nginx: [emerg] invalid host in upstream

ReddirtMarch 14, 2013 02:24PM

Re: nginx: [emerg] invalid host in upstream

ReddirtMarch 14, 2013 02:27PM

Re: nginx: [emerg] invalid host in upstream

ReddirtMarch 14, 2013 04:13PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
Record Number of Users: 3 on November 23, 2014
Record Number of Guests: 377 on November 23, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready