Check if the file exists.
francis at daoine.org
Thu Feb 20 22:10:45 UTC 2014
On Thu, Feb 20, 2014 at 02:01:22PM -0800, Felix Quintana wrote:
> >What http request do you make?
> >What file on your filesystem do you want to check the existence of?
> >What file on your filesystem do you want to tell the fastcgi server to process?
> >What nginx variables hold the names of the files you care about?
> I have no idea.
See also http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files
and the usual way it is used for php/fastcgi checking.
With the other directive mentioned, you'll possibly (untested!) be able to use
try_files $fastcgi_script_name =404
in your fastcgi-processing location.
Good luck with it,
Francis Daly francis at daoine.org
More information about the nginx