How to setup nginx to make php works in site subdirectories

dimentiy nginx-forum at
Sun Feb 12 18:04:30 UTC 2012

Hello, Francis,

Yes, I have another 'location' but within the another 'server'

Exactly I have four 'servers' with different root. Like
'', '', '', 
Each of them are similar and looks like I posted above as I said the
difference is only in root (location / { root xxx; }).

You say that verything is fine and should already work. Sounds cool.
I'm dummy with nginx and php-fpm.

Could you tell, please, how to enable debug log?

Thank you.

Francis Daly Wrote:
> On Sun, Feb 12, 2012 at 06:33:09AM -0500, dimentiy
> wrote:
> Hi there,
> > Scripts in site's root are processed, but in
> subdirectories are not (
> Using your configuration, I'm unable to reproduce
> your reported output.
> There are some tidy-up fixes that could be done to
> your configuration,
> but what you have should be working already.

Posted at Nginx Forum:,222301,222315#msg-222315

More information about the nginx mailing list