Nginx, static files and local caching

Jérôme Loyet jerome at loyet.net
Wed Feb 10 12:55:19 MSK 2010


make apache serve static pages and cache them with proxy_cache in nginx.

2010/2/10 rkappert <nginx-forum at nginx.us>:
> I'm currently using nginx for my static files.
> Apache is still being used to serve my dynamic PHP scripts.
> This configuration works perfectly
>
> Is it possible to cache the static files served bij nginx?
> Because I'm using NFS, and when the files aren't cache my NFS servers gets a very high load.
>
> I've found something with try_files, but I don't think that works because it looks like it uses Apache to serve the static files.
> I searched all forums but I can't found a good solution.
>
> Who can help me?
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,52985,52985#msg-52985
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list