-f $request_filename
Tomasz Pajor
nikon at puffy.pl
Mon Apr 19 16:54:41 MSD 2010
Hello,
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;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
fastcgi_param APPLICATION_TYPE $app_type;
fastcgi_param APP_LANG $app_lang;
fastcgi_param SERVER_TYPE $server_type;
fastcgi_param ENVIRONMENT test;
include fastcgi_params;
}
More information about the nginx
mailing list