how to make nginx not cache php file
Jérôme Loyet
jerome at loyet.net
Thu May 28 09:28:27 MSD 2009
location ~ \.php$ {
proxy_cache none;
}
it should do the trick
++ jerome
2009/5/28 perlish <nginx-forum at nginx.us>:
> Hi all:
> When I use nginx-0.7.59 as a revers proxy and cache server,it also cache the php file,how to make it not cache php file ?
> I thought the php file is not need to be cached.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2437,2437#msg-2437
>
>
>
More information about the nginx
mailing list