The whole point of this is to get as much load off of Apache as possible to keep the server running nice and smoothly.
The configuration below will mean that nginx will serve basically everything;
- static files
- uploaded files and
- cached content
simply replace the VARIABLES below and everything should be good to go, if copy-pasting from below isn’t working properly you can download a full copy from here.