nginx and rails configuration question

Cathal coriordan at tssg.org
Thu Apr 3 03:38:00 MSD 2008


Hi Francisco,

Thanks for replying.
I've defined the cluster instances elsewhere in my conf file. 
I just didn't include them in the sample I posted.
The issue is that $request_filename includes the matched location '/app2'
in its path.

So the following directive:

if (-f $request_filename)
{
break;
}

looks for '/app2/styesheets/style.css' in the root directory. 
This doesn't exist. 

Is there someway to take into account that '/app2' is a virtual path when
attempting a match?

regards,
C.






More information about the nginx mailing list