nginx and rails configuration question
ficovh at gmail.com
Thu Apr 3 09:46:07 MSD 2008
Can you post the complete nginx.conf file ?
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)
> 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?
Francisco Valladolid H.
-- http://bsdguy.net - Jesus Christ follower.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx