nginx and rails configuration question
Francisco Valladolid
ficovh at gmail.com
Thu Apr 3 09:46:07 MSD 2008
Can you post the complete nginx.conf file ?
Regards.
On Thu, Apr 3, 2008 at 4:08 AM, Cathal <coriordan at tssg.org> wrote:
> 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.
>
>
>
--
Francisco Valladolid H.
-- http://bsdguy.net - Jesus Christ follower.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080403/3a90e9e5/attachment.html>
More information about the nginx
mailing list