configuring nginx for different rails apps under same do
amith amith
lists at ruby-forum.com
Sat Nov 24 11:41:19 MSK 2007
Igor Sysoev wrote:
> On Wed, Nov 21, 2007 at 08:10:44AM +0100, Archana Balaji wrote:
>
>> i want to know how to configure nginx for different rails app under the
>> same domain.
>> for example:
>> 1)Rails application 1 <http://mydomain.com/app1>
>> 2)Rails application 2 <http://mydomain.com/app2>
>>
>> Below is my enginx configuration .i want to know where iam goin wrong
>> as i'm able to go in my home page but not able to navigate from login
>> and signup pages.
>
> How these pages (home, login, and signup) are looked from rails side ?
> What their URLs ?
the url's are redirected to main/home in the rails apps side..
The problem now is that
The things which are redirected to main /home gets directed to
<http://domain.com/main/home>
I want it to be redirected to
<http://domain.com/app1/>
how do i redirect it using nginx???
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list