-f $request_filename
Maxim Dounin
mdounin at mdounin.ru
Mon Apr 19 18:06:29 MSD 2010
Hello!
On Mon, Apr 19, 2010 at 02:54:41PM +0200, Tomasz Pajor wrote:
> Got something like this, but the break seams to not work,
> and the file is being processed by the php fastcgi process.
>
> Any clue why?
>
> location / {
> if (-f $request_filename) {
> root /vhosts/default/test;
> break;
> }
>
> try_files $uri $uri/ @fallback;
> fastcgi_pass unix:/var/run/spawn-fcgi.sock;
Wow. I wonder what you are trying to achieve...
Maxim Dounin
More information about the nginx
mailing list