try_recent_files?

Marcus Clyne ngx.eugaia at gmail.com
Sun Dec 20 12:22:57 MSK 2009


Hi,

Yuval Hager wrote:
> On Sunday 20 December 2009, Ryan Malayter wrote:
>   
>> On Friday, December 18, 2009, Yuval Hager <yhager at yhager.com> wrote:
>>     
>>> Will this approach work for fcgi too? I am trying to stay apache-free.
>>> Also the app (Drupal-5 hacked) does not support reverse proxy without
>>> careful patching.
>>>       
>> I think proxy_cache works for fastcgi as well, but I am not positive.
>>     
>
> But how? the docs say that proxy_pass is looking for a URL.
>   
There's FastCGI cache too -
http://wiki.nginx.org/NginxHttpFcgiModule#fastcgi_cache

This would suit your needs, along with the try_files directive.

Marcus.



More information about the nginx mailing list