Nginx 1.7.0: location @php

Francis Daly francis at
Sun May 25 13:28:09 UTC 2014

On Sun, May 25, 2014 at 05:49:33AM -0400, TECK wrote:

Hi there,

> I'm trying to understand why the use of this configuration code does not
> work:

Answer #1: what does "does not work" mean?

What request do you make; what response do you get; what response do
you want?

> 		try_files               @php =404;

Answer #2: what do you think that directive does? What does the
documentation say that that directive does? Hint: the final argument to
try_files is uri or =code. All of the other ones are file.

Francis Daly        francis at

More information about the nginx mailing list