Nginx, static files and local caching

rkappert nginx-forum at nginx.us
Wed Feb 10 12:20:57 MSK 2010


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




More information about the nginx mailing list