Is it possible using multiple directive on different root location? (Without Symlinks)

Francis Daly francis at
Fri May 11 08:03:57 UTC 2012

On Thu, May 10, 2012 at 09:58:10PM -0700, antituhan wrote:

Hi there,

> So, how to solve the fastcgi php path with $document_root directive? By using
> fix path like /home/antituhan/static + multiple fastcgi directive or any
> directive to solve this issue?

If this part:

> > Probably you'll want to look at nesting a php location inside the /cdnize/
> > one. And then moving the current php location to be inside the / one.
> > 
> > So you will probably need to have two or more locations that handle php,
> > which each use a fastcgi_pass directive.

is unclear, please say so.

After that:

* what did you do?
* what did you see?
* what did you expect to see?

(As in: show your config; and show one url that you tested that did not
respond as you wanted.)

Francis Daly        francis at

More information about the nginx mailing list